Skip to content

Instantly share code, notes, and snippets.

View atulkamble's full-sized avatar
☁️
Azure, AWS, DevOps Training & Consulting

Atul Kamble atulkamble

☁️
Azure, AWS, DevOps Training & Consulting
View GitHub Profile
@atulkamble
atulkamble / stress.md
Last active October 14, 2023 06:54
Welcome file
sudo yum install stress -y
uptime
sudo stress --cpu 8 --timeout 20
uptime
sudo yum remove stress -y
@atulkamble
atulkamble / terraform-upgrade-chco.sh
Last active October 10, 2023 08:00
Terraform-Upgrade-Chocolately
// Powershell | Run as Administrator
choco upgrade terraform
@atulkamble
atulkamble / Current Cloud DevOps RHEL Batches BreakDown
Last active May 8, 2024 02:06
Current Cloud/DevOps/Linux Batches BreakDown
AWS Solutions 2 Months ███████░░░░░░░░░░░░░░░░ 30%
AWS DevOps 2 Months ███████░░░░░░░░░░░░░░░░ 30%
Azure DevOps 2 Months ██████████████████░░░░░ 80%
Azure Admin 2 Months ███████████████░░░░░░░░ 70%
GCP 1.5 Month ███░░░░░░░░░░░░░░░░░░░░ 20%
DevOps 3 Months █████████░░░░░░░░░░░░░░ 40%
RHEL 2 Months █░░░░░░░░░░░░░░░░░░░░░░ 10%
@atulkamble
atulkamble / autoscaling-EC2.md
Last active September 14, 2023 07:22
autoscaling-EC2

Autoscaling Group

  1. Create Autoscaling group from EC2 Tab
  2. Separate Security Group
  3. Select Subnets
  4. Create Template | Within Template try following Code
  5. Select Custom Data Setting at last | OS - Amazon Linux 2023 | Paste following code.
  6. Monitor Changes
  7. Edit minimum, desired, maximum instances configuration from Autoscaling Group Setting
@atulkamble
atulkamble / efs.md
Last active September 13, 2023 07:39
efs

EFS

  1. Navigate to EFS
  2. Create File System
  3. Open Customise
  4. Configure Subnets, Security Groups
  5. Launch 2 instances
  6. Connect through ssh
  7. Check for files which has been created from istances
  8. Terminate efs, instances, check vpc
@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/