Saturday, December 31, 2022

How to create EC2 instance and connect

  

How to create EC2 instance and connect






 

Steps:


1: Go to AWS console. click on All services, Click on Compute -->  Click on EC2




2. Click on Launch instance. Choose an Amazon machine image (AMI), click next



3. select Ubuntu Server 22.04 LTS (HVM), SSD Volume Type 




click next

4. choose an instance type as t2.micro, 1GB memory. click next


5. Choose the existing key pair if you have one, otherwise create new one, give some name as MyDevopsClass. Make sure you download the key. Please do not give any space or any character in naming the key.  And also change from RSA to ED25519






7. In the Network Settings tab click Edit and Scroll down to add Security Group rule add port range for 8080, and allow 0.0.0.0/0 as source IP



8. In the configure storage tab increase from 8gb to 20gb



9. Click on Launch


Once instance is created. you can see it running..

No comments:

Post a Comment

Jenkins Scripted Pipeline - Create Jenkins Pipeline for Automating Builds, Code quality checks, Deployments to Tomcat - How to build, deploy WARs using Jenkins Pipeline - Build pipelines integrate with github, Sonarqube, Slack, JaCoCo, Nexus, Tomcat

  Jenkins Scripted Pipeline - Create Jenkins Pipeline for Automating Builds, Code quality checks, Deployments to Tomcat - How to build, depl...