https://github.com/asolis2/azure-auto-docker-deployment
Automates Azure VM deployment and Docker installation for containerized web servers.
https://github.com/asolis2/azure-auto-docker-deployment
automation azure cloud devops docker
Last synced: 4 days ago
JSON representation
Automates Azure VM deployment and Docker installation for containerized web servers.
- Host: GitHub
- URL: https://github.com/asolis2/azure-auto-docker-deployment
- Owner: ASolis2
- Created: 2025-04-28T19:42:05.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-04-29T01:50:17.000Z (12 months ago)
- Last Synced: 2025-05-27T03:48:06.156Z (11 months ago)
- Topics: automation, azure, cloud, devops, docker
- Language: Shell
- Homepage:
- Size: 393 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure Auto Docker Deployment
This project automates the deployment of a virtual machine on Microsoft Azure, installs Docker, and runs an Nginx container.
## Project Summary
- **Cloud Platform**: Microsoft Azure
- **Tools Used**: Azure CLI, Docker, Bash
- **App Deployed**: Nginx Web Server
---
## How to Use
### 1. Login to Azure CLI:
```bash
az login
```
### 2. Make the script executable:
```bash
chmod +x deploy_server.sh
```
### 3. Run the script:
```bash
./deploy_server.sh
```
### 4. SSH into the server and install Docker:
```bash
ssh username@your_public_ip
sudo apt update
sudo apt install docker.io -y
sudo systemctl start docker
sudo systemctl enable docker
```
### 5. Deploy Nginx container:
```bash
sudo docker run -d -p 80:80 nginx
```
### 6. Visit your server’s public IP address:
```bash
http://your_public_ip
```
---
## Screenshots
| Step | Screenshot |
|:----|:-----------|
| Deployment Script Run Part 1 |  |
| Deployment Script Run Part 2 |  |
| Deployment Script Run Part 3 |  |
| Deployment Script Run Part 4 |  |
| Deployment Script Run Part 5 |  |
| Docker Hello World |  |
| Docker Nginx Running |  |
---
## Future Improvements
- Docker Compose setup for multi-container applications
- Automatic security updates on deployed server
---
## Author
- **Anthony Solis** – [GitHub Profile](https://github.com/ASolis2)