04 1) +EC2+instance+Lab
04 1) +EC2+instance+Lab
04 1) +EC2+instance+Lab
Log on to AWS open EC2 Select the region and click on launch instances
Creating Instance in AWS
Selecting the requires Amazon Image (OS) -select Ubuntu or windows server 2012 base ( Free tier
)
Creating Instance in AWS
Click on add tags and type : Key = Name , Value = Windows server 2012 or Ubuntu
Tagging
• Creating New security group –select RDP and HTTP for Windows and SSH RDP for Linux
Instance. In case of not knowing select All traffic and source anywhere ----Review and Launch
Creating Instance in AWS
Click on launch instance –then scroll down and click on view instance
Creating Instance in AWS
Open server manager –Add roles and features –next –next –next—
select web server (IIS)
Installing IIS
Next—next--
Installing IIS
# apt-get update
# apt install apache2
# cd /var/www/html/
#ls
# nano mobile.html
<html>
<h1> Welcome to Azure training </h1>
</html>
# systemctl start apache2
# systemctl enable apache2
# ufw disable
How to access : Open web browser and type :-
http://instance-public-ip or http://instance-public-ip/mobile.html
Elastic IP Addresses
1) To use an Elastic IP address, you first allocate one to your account, and
then associate it with your instance or a network interface.