How to Create, Connect and Delete AWS Linux EC2 Instance | Setup Apache 2 Webserver on Ubuntu 20.04

Published: 18 February 2022
on channel: Cloud Champ
2,165
42

AWS EC2 Tutorial: This overview video will walk you through Easy steps to launch, configure Apache 2 and terminate your first Ubuntu Amazon EC2 instance. We are launching Linux instance Ubuntu 20.04 and configuring Apache2 webserver using User data scripts, then we connect to our instance through SSH using AWS EC2 connect and lastly we terminated the EC2 instance.

Learn more about AWS EC2 service in this detailed video:    • What is AWS EC2? Learn Amazon Elastic...  

Script used to install Apache2 Web Server on Ubuntu Instance:
#!/bin/bash
sudo apt-get update -y
sudo apt-get install apache2 -y
sudo systemctl start apache2.service

1. Launching an Instance 0:32
2. Selecting Ubuntu AMI 0:45
3. Select Instance type 01:01
4. Configure Instance Details and add User data script to install Apache Web Server 01:15
5. Add EBS storage to the Instance 01:52
6. Add Tags 02:10
7. Choose Security Group 02:25
8. Downloading SSH KeyPair 03:10
9. Connect to Instance 04:54
10. Terminating the Instance 07:15

To learn more about AWS Cloud Services checkout this playlist:    • Walkthrough of the AWS Management Con...  

Want to save your money and get credits from AWS? Setup your Budget, refer to this video:    • How to Setup AWS Budgets and Billing ...  

#AWS
#EC2
#ubuntuinstance