Autoscaling Group
- Create Autoscaling group from EC2 Tab
- Separate Security Group
- Select Subnets
- Create Template | Within Template try following Code
- Select Custom Data Setting at last | OS - Amazon Linux 2023 | Paste following code.
- Monitor Changes
- Edit minimum, desired, maximum instances configuration from Autoscaling Group Setting
EFS
- Navigate to EFS
- Create File System
- Open Customise
- Configure Subnets, Security Groups
- Launch 2 instances
- Connect through ssh
- Check for files which has been created from istances
- Terminate efs, instances, check vpc
Official Link: https://code.visualstudio.com/
IntelliSense for your programming language
Prerequisites for running a C program in Visual Studio Code VSCode Installation on linux
sudo snap install code --classic
Add following Custom data tab of EC2 Configuration | Advanced
Launching EC2 Webserver | httpd
!/bin/bash
yum update -y
yum install -y httpd
systemctl start httpd
systemctl enable httpd
chmod 777 /var/www/html/
kubernetes k8s
Github Repo https://github.com/kubernetes/kubernetes
Minikube
Docker Webbsite https://www.docker.com/
Docker Community: https://www.docker.com/community/
Update EC2 -Ubuntu instance
sudo apt update
Task 2) Launch windows type of instance & do rdp connection for it
Task 3) Deploy IIS WebServer on Windows type of EC2 Instance.
Task 4) Deploy nginx server/apache2 server on linux type of instance.
sudo apt update -y
sudo apt install nginx -y
OR
sudo apt install apache2
docker run -p 5000:5000 in28min/hello-world-python:0.0.1.RELEASE
Check following link from web-browser http://localhost:5000