virtual Machine:
- aws – ec2
- azure – vm
Aws EC2: elastic cloud compute
core blocks:
- virtual machine – ec2
- storage – elastic block storage (EBS)
- sizing – instance Type – cpu, memory
- Networking – static ip and public ipaddress
- login control – keypair ==> sshkeys
- access control – secuirty group (inbound/outbound rules)
- software – Operating system – like ubuntu, redhat, windows server …etc (AMI)
connect to ec2 instance
# user name and password
ssh username@ipaddress ==> ask password
# login ssh using pravite key
ssh -i <path of the key> username@ipaddress
create linux machine watch class recording
## to connect ec2 instance
cd Downloads
ssh -i .\ec2.pem ubuntu@54.82.146.190
install apache2
sudo apt update
sudo apt install apache2 -y
try check apache
http://<public ip address>
http://54.82.146.190
Compute
- EC2
- Lightsail
- Lambda
- Batch
- Elastic Beanstalk
- Serverless Application Repository
- AWS Outposts
- EC2 Image Builder
- AWS App Runner
- Parallel Computing Service
- AWS Global View
