Skip to content

Traditional Infrastructure

Jeff Bachtel edited this page Sep 15, 2018 · 5 revisions

Traditional Infrastructure

Some applications prefer not to run as Docker containers and therefore would rather launch traditional EC2 instances for each microservice as seen in the following diagram:

Environment Diagram

To configure an environment to use traditional EC2 instances for each service rather than containers on ECS, just set the provider to ec2 for the environment:

---

environments:
  - name: acceptance
    provider: ec2

Finally, you'll need to create an appspec.yml file and any necessary hook scripts as per the CodeDeploy User Guide to define how to setup your EC2 instance to run your application.

The ec2-provider example provides a reference on how to setup mu to deploy to EC2 instances.