How to Deploy Mendix on AWS Without Using EC2?

0
hello How can I deploy a Mendix app on AWS without using EC2? I’d like to know if services like Elastic Beanstalk, ECS, or EKS are suitable, and how to best connect Mendix with AWS services like RDS, S3, or CloudFront. Any guidance or best practices would be appreciated.
asked
1 answers
0

Mendix applications need persistent runtime environments for that reason they're not truly serverless (like a Lambda server). But you can use container-based services like ECS Fargate or Beanstalk give you much of the operational simplicity without direct EC2 management.

 

Elastic Beanstalk is probably your most straightforward option. You can deploy Mendix applications as Docker containers on Beanstalk, which abstracts away the EC2 management.

 

You can run Mendix app as docker container on ECS Fargate to avoid managing EC2 instances directly. This gives you serverless container execution while maintaining the persistent runtime that Mendix applications require.

 

EKS (Elastic Kubernetes Service) might be good if you need Kubernetes orchestration. For a single container app its an overkill but if you need multiple apps to be in sync that might be an option.

 

You can use RDS easily as an external relational DB in your projects. RDS provides built-in high availabilit (with multi AZ), auto backup, scaling etc.

 

You can place CloudFront in front of your Mendix application for CDN capabilities. This works especially well for static assets. For file storage, you can use the AWS S3 connector available in the Mendix Marketplace,

answered