ecs-mesh-workshop icon indicating copy to clipboard operation
ecs-mesh-workshop copied to clipboard

This handy workshop help the customers to quickly launch ECS with service mesh support on top of mixed type of instance in all commercial regions (include China), and also provides hands-on tutorials...

ECS Mesh Workshop

This quick start solution is designed to easily launch ECS with various powerful features, such as spot fleet, auto scaling with mixed fleet, service mesh, monitoring tools, and more. Linkerd, Prometheus, and Grafana as major components are integrated ECS in this solution but you can use your favorite.

It'll be Keep iterating and added more tutorials and guides from time to time.

Tutorial

1. Setup infrastructure layer and stand up ECS

2. Using on-demand instance as worker nodes

3. Using spot instance as worker nodes

4. Using third party solution for service mesh and monitoring

5. Manage persistent volumn with different storages: EBS/EFS/S3

6. Centralized log solution with Fluent Bit & Elasticsearch

7. Integrate CI/CD with ECS cluster

8. Services discovery on ECS cluster

9. Automated provisoning ECS cluster by CDK

Tips

  1. Using ECS optimized AMI for worker node, which include recommended Docker runtime & ECS agent. In addtion, you should install SSM agent in order to simplify future management.

  2. Using spot instance to optimizing cost, spot instance can be integrate with auto scaling group to suppot mission critical needs. You can setup specific need rate between on-demand instnace and spot instance, so that you always have available capacity to handle business operation.

  3. Using service mesh to improve observbility.

Todo

  • [ ] 7. Integrate CI/CD with ECS cluster
  • [X] 8. Services discovery on ECS cluster

Resources

For more information about ECS developer guide, see the Developer Guide.

For more information about ECS task placement, see the Amazon ECS Task Placement.

For more information about configuring Linkerd, see the Linkerd Configuration page.

For more information about linkerd-viz, see the linkerd-viz GitHub repo.

For more information about CloudFormation, see the User Guide.

License Summary

The documentation is made available under the Creative Commons Attribution-ShareAlike 4.0 International License. See the LICENSE file.

The sample code within this documentation is made available under the MIT-0 license. See the LICENSE-SAMPLECODE file.