Sample using Systems Manager
- Create two Linux Ec2 Instances (Ubuntu). Tag one machine as Dev and other as Test
- Navigate to Systems Manager.
Managed Instance
- Any Ec2 Instance that can be managed by Systems Manager is Managed Instance
Activities:
-
Add Existing Ec2 instances to be managed by Systems Manager
-
Navigate to Systems Manager and Select Managed Instances
-
Select Get Started
-
Refer Here for setup
-
Select the two instances and setup Systems Manager, agents will be installed on the instances which can be managed by Systems Manager
-
Lets update the Packages in both the machines using Run Command
sudo apt-get update
Exercises
- Install apache server on Dev
sudo apt-get update
sudo apt-get install apache2 -y
- Install JDK8 server on Test
sudo apt-get update
sudo apt-get install openjdk-8-jdk -y