EC2
How can I find the resources associated with an Amazon EC2 security group
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-find-security-group-resources/
AWS EC2 UBUNTU AMI LOCATOR
https://cloud-images.ubuntu.com/locator/ec2/
Changing the Administrator Password After Connecting
Connect to the instance via session manager. In command prompt type: net user Administrator “new_password” Note: With Windows Server 2016 and later, Password never expires is disabled for the local administrator. With Windows Server 2012 R2 and earlier, Password never expires is enabled for the local administrator.
Install Ansible in Amazon EC2 Linux Instance
1. Login to your Amazon Linux instance. 2. Become root using ‘sudo su -‘ command. 3. Run following command to install Ansible #pip install ansible 4. Test ansible install correct #ansible –version
Install Jenkins on Amazon Linux EC2 Instance
1. Login to your Amazon Linux instance. 2. Become root using ‘sudo su -‘ command. 3. Update your repositories #yum update 4. Get Jenkins repository #wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo 5. Get Jenkins repository key #rpm –import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key 6. Install Jenkins package #yum install jenkins 7. Start Jenkins #service jenkins start 8. Start automatically at…
How do I add new user accounts with SSH access to my Amazon EC2 Linux instance?
1. Connect to the EC2 Linux instance that you plan to add user accounts to. 2. Run the following command sudo adduser <new_user> 3. Switch context to new user account sudo su – <new_user> 4. Create .ssh directory mkdir .ssh 5. Limit access to the .ssh directory chmod 700 .ssh 6. Create the file…
12 Top Things to Monitor in Amazon EC2
https://signalfx.com/blog/12-top-things-to-monitor-in-amazon-ec2/ Instance State and Health Status Checks Resource Starvation System Errors Human Errors CPU Usage Disk Usage Network Usage Application Performance Instance Type Instance Count Network and Storage Costs