Today, I deployed the vProfile project across multiple VMs using Vagrant. Here’s a breakdown of the architecture:
💻 Infrastructure
5 VMs:
db01: MariaDB
app01: Apache Tomcat + WAR deployment
rmq01: RabbitMQ Server
web01: Nginx reverse proxy
mc01: Memcached
🔧 Key Tasks
Set up MariaDB and secured it with mysql_secure_installation
Built the project with Maven 3.9 and deployed to Tomcat
Integrated RabbitMQ (running on a separate VM)
Configured Nginx as a reverse proxy to Tomcat
Used systemd services for managing Tomcat and RabbitMQ
✅ Result
Everything is now working end-to-end:
DB and MQ are communicating
WAR deployed successfully
Learnings
Systemd service creation
WAR deployment lifecycle
RabbitMQ diagnostics
Vagrant networking and host resolution
👉 Check the GitHub repo:https://bit.ly/43K3lch
💬 Let me know what you’d improve or automate in this pipeline!
Top comments (0)