How to install Docker on AWS EC2?
#Update the packages on your instance #Install Docker #Start the Docker Service #Add the ec2-user to the docker group so you can execute Docker commands without using sudo.
#Update the packages on your instance #Install Docker #Start the Docker Service #Add the ec2-user to the docker group so you can execute Docker commands without using sudo.
#Perform a quick update on your instance: #Install git in your EC2 instance #Check git version
1) Download and install the amazon-linux-extras library on the WebServer instance by using EC2 Instance Connect. 2) Install the CPU stress tool on the WebServer instance. 3) Run the stress tool on the WebServer instance by using 4 CPU workers.
Use this script whilst lauching EC2
Please refer here on how to use SCP: https://hagrito.com/wiki/networking/scp/copy-file
1) Download the Cloudwatch Unified Agent 2) Install the Cloudwatch Agent
Replace the resource and source ARNs with yours and amend it to the the access policy in SNS topic
Note: When prompted to confirm, enter y.
You can use Cloud Nuke: https://github.com/gruntwork-io/cloud-nuke Installation and basics: How to factory reset AWS account? 2. Nuke resources in perticular region example us-east-2 (please read the document here before you do anything) THE NEXT STEPS ARE DESTRUCTIVE AND COMPLETELY IRREVERSIBLE, PROCEED WITH CAUTION!!! 3. When the below command is executed, this tool will delete … Continue reading “How to factory reset AWS account ? (v2)”
First install the CloudWatch agent if you haven’t already here 1. Open the setup wizard 2. Enter these values asked during setup On which OS are you planning to use the agent? : Enter Are you using EC2 or On-Premises? : Enter 1 Which user are you planning to run the agent? : Enter … Continue reading “How to configure and start the AWS CloudWatch Agent?”