Cloud-1
One command to the cloud.

A Python + Ansible tool that provisions DigitalOcean servers and deploys a containerized WordPress stack (Nginx, WordPress, MariaDB) with one command.
The problem
Setting up a server by hand is slow and impossible to repeat exactly. The goal: go from nothing to a live, secured WordPress site on real cloud servers with a single command.
How I built it
- 01A Python script that creates droplets through the DigitalOcean API and writes the Ansible inventory.
- 02Ansible roles that install Docker, create the system user and deploy the Nginx + WordPress + MariaDB containers.
- 03Region, size, image and number of servers are all configurable, with optional SSL on a domain.
Key takeaways
- — Infrastructure as code: servers you can destroy and recreate identically.
- — Keeping secrets and settings out of the code with environment files.
Cloud-1 was built as part of the software engineering curriculum at 1337 Coding School (42 Network, UM6P), where every project is built from scratch and reviewed by peers.