How to Create EC2 instance on Amazon Web Service(AWS).

Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) Cloud. … You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage. It stands for Elastic Compute Cloud. It is a web service where an …

Install composer on Amazon Linux running on EC2

$ cd ~ $ sudo curl -sS https://getcomposer.org/installer | sudo php $ sudo mv composer.phar /usr/local/bin/composer $ sudo ln -s /usr/local/bin/composer /usr/bin/composer then run below command $ sudo composer install

How to Install and Configure the CloudWatch Logs Agent on a Running EC2 Linux Instance & Push the logs to cloudwatch using Agent.

Step 1: Launch a EC2 Linuc instance & Attached IAM Role for CloudWatch Logs. To configure your IAM role or user for CloudWatch Logs Open the IAM console at https://console.aws.amazon.com/iam/. In the navigation pane, choose Roles. Choose the role by selecting the role name (do not select the check box next to the name). Choose …