Amazon EC2 examples using the AWS SDK for PHP Version 3 - AWS SDK for PHP
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Amazon EC2 examples using the AWS SDK for PHP Version 3

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides virtual server hosting in the cloud. It’s designed to make web-scale cloud computing easier for developers by providing resizeable compute capacity.

All the example code for the AWS SDK for PHP is available here on GitHub.

Credentials

Before running the example code, configure your AWS credentials, as described in Authenticating with AWS using AWS SDK for PHP Version 3. Then import the AWS SDK for PHP, as described in Installing the AWS SDK for PHP Version 3.