1. Set up your Vultr Account
  2. Install Terraform
  3. Organize Your Project Directory
  4. Initialize Terraform Configuration
  5. Define Vultr Provider and Swarm Variables
  6. Provision Vultr Servers
  7. Create Docker Swarm
  8. Build Docker Images
  9. Deploy the Node.js Application
  10. Set Up Load Balancer (Optional)
  11. Configure DNS and Domain (Optional)
  12. Testing and Monitoring
  13. Scaling and Maintenance
  14. Security and Backup
  15. Deployment Validation

By following this roadmap, you can deploy your Node.js project with Docker Swarm on Vultr Hosting Server using Terraform in a structured and organized manner. Remember to regularly update and maintain your infrastructure to ensure smooth operations of your application.

Sumary

  1. Deploy host by terraform - DONE
  2. Use terraform output to setup docker-swarm - DONE