githubEdit

Can I safely shutdown and restart Duplo EC2 instances on a schedule to save costs?

Context You want to implement an AWS cost-saving plan by shutting down idle EC2 instances that run Duplo services (such as Duplo-Portal Svcs, OpenVPN, and Duplo-Master) and starting them on a schedule or on-demand. You're concerned about whether the services will automatically restart and function properly after the instances are brought back online. Answer Yes, it is safe to shutdown Duplo EC2 instances on a schedule. The portal URL and services will automatically come back up when the instances are restarted. Important considerations: If your CI/CD pipeline uses Duplo endpoints, it will not work while the Duplo instances are down Any services dependent on these instances will be unavailable during the shutdown period Implementation options: The scheduling must be set up directly in AWS, not through Duplo. AWS provides a CloudFormation template for automated instance scheduling through their Instance Scheduler solution: AWS Instance Scheduler Alternatively, you can manually stop and start the instances as needed through the AWS console until automated scheduling is implemented. For assistance with setting up the AWS Instance Scheduler CloudFormation template, contact Duplo support who can help with the implementation.

Last updated

Was this helpful?