Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 959 Bytes

README.md

File metadata and controls

32 lines (18 loc) · 959 Bytes

CREATING AN EC2 INSTANCE

The first step is to register an account on AWS.

Once an account has been created, You will create an ec2 instance using an Ubuntu Image

Follow the images below to create an ec2 instance on AWS

alt text

alt text

alt text

Changes to Note:

Give the ec2 instance a name you like
Also create a new key pair and call it a name. This key pair will be used to connect to the ec2 instance from your local server

Once the ec2 instance has been succesfully launched, You will ssh into the instance using a command like this

CONNECTING TO AN EC2 INSTANCE FROM LOCAL

ssh -i abi2.pem ubuntu@public-ip-address

If the connection is successful, It should look like the screenshot below alt text

ANSIBLE PLAYBOOK INSTRUCTIONS