Skip to content

Instantly share code, notes, and snippets.

View atulkamble's full-sized avatar
☁️
AWS/Azure/DevOps/RHEL Training & Certifications

Atul Kamble atulkamble

☁️
AWS/Azure/DevOps/RHEL Training & Certifications
View GitHub Profile
@atulkamble
atulkamble / wordpress-ec2-0.md
Created September 13, 2023 04:40
wordpress-ec2-0

Task: Host a WordPress blog on Amazon Linux 2023

Update instance

sudo yum update -y

download pacakges

@atulkamble
atulkamble / vscode0.md
Last active September 11, 2023 04:47
vscode0
@atulkamble
atulkamble / webserver.md
Created September 10, 2023 13:34
webserver

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/

@atulkamble
atulkamble / docker3ec2dockerwordpressnginx.md
Created September 10, 2023 07:52
docker3ec2dockerwordpressnginx

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

@atulkamble
atulkamble / docker2pythonapp-hello-world.md
Last active September 9, 2023 09:00
docker2pythonapp-hello-world

Run python webapp on docker

docker run -p 5000:5000 in28min/hello-world-python:0.0.1.RELEASE

Check following link from web-browser http://localhost:5000

@atulkamble
atulkamble / docker1webapphelloworld.md
Last active September 17, 2023 07:52
docker1webapphelloworld

// To create a Docker image of a simple web application on EC2/Physical Machine

mkdir dockerfiles 
New-Item Dockerfile

OR

touch Dockerfile

Add following content to file

@atulkamble
atulkamble / minikube.md
Last active September 11, 2023 06:28
Azure AD

Minikube Installation and dependencies

Install Powershell on Windows https://github.com/PowerShell/PowerShell

Install Scoop on windows powershell

iwr -useb get.scoop.sh | iex

Then install kubectl using scoop

@atulkamble
atulkamble / ec2.md
Created September 8, 2023 13:47
Welcome file

prequisite

linux, windows 16, 22, 12 server edition

networking - port numbers -- ssh 22 rdp - 3389 http - 80

networking, databases, compute, security - cloud