Course: CompTIA Cloud+ CV0-004
Objective: Understand deployment models and implement a simple blue/green deployment strategy using AWS and RHEL.
| Model | Description | Example |
|---|---|---|
| Public | Hosted by third-party cloud provider | AWS, Azure, GCP |
| Private | Exclusive cloud environment for one org | On-prem OpenStack |
| Hybrid | Combines public and private clouds | AWS Direct Connect + VMware |
โ Checkpoint: Know when to use each model depending on compliance, control, or scale.
t2.micro blue-server #!/bin/bash
sudo dnf update -y
sudo dnf install -y httpd
echo "<h1>Blue Version - RHEL</h1>" | sudo tee /var/www/html/index.html
sudo systemctl enable httpd
sudo systemctl start httpd
t2.micro green-server #!/bin/bash
sudo dnf update -y
sudo dnf install -y httpd
echo "<h1>Green Version - RHEL</h1>" | sudo tee /var/www/html/index.html
sudo systemctl enable httpd
sudo systemctl start httpd
cca-yourname-cloudlab.duckdns.org (or use a registered domain)
- Example: cca-yourname-cloudlab.duckdns.org๐ Note: If you do not own a domain, you can test using public IPs or consider using a free domain provider like duckdns for lab purposes.
cca-yourname-cloudlab.example.comdig or nslookup to verify resolution:#!/bin/bash
dig cca-yourname-cloudlab.example.com