--- tags: ECS, Containers, AWS --- # Kinatico: Development Week - AWS Workshop ![alt text](https://raw.githubusercontent.com/awslabs/aws-icons-for-plantuml/main/source/unofficial/AWS-Architecture-Icons_SVG_20200430/SVG%20Light/_Group%20Icons/AWS-Cloud-alt_light-bg.svg "Tech Series" =20x20) Meet the local team in attendance (hover for names) ![alt text](https://d3m889aznlr23d.cloudfront.net/img/events/id/458/458628562/assets/58403e1c344e418f20636d5a2806d3a5.arranp-high-res-current-photo.jpeg "Arran Peterson" =80x80) ![alt text](https://media.licdn.com/dms/image/C4D03AQG9CgDKQWYPhQ/profile-displayphoto-shrink_200_200/0/1516811637369?e=1721260800&v=beta&t=pmqpGPSzl2jrZ05Seiqt4fKQeaI0nzeS3shM342h26k "Josh Tow" =80x80) This is our list of hints and tips from the ECS presentation. # Follow Up Items TBC ## ECS Best Practices Best Practices - Running your application with Amazon ECS https://docs.aws.amazon.com/AmazonECS/latest/bestpracticesguide/application.html Well Architected - Container Build Lens https://docs.aws.amazon.com/wellarchitected/latest/container-build-lens/container-build-lens.html Well Architected - ECS Lens https://github.com/aws-samples/custom-lens-wa-hub/tree/main/Amazon-ECS-Lens ECS Container Patterns https://containersonaws.com/pattern/ ## Container Optimisation General community guidance on container optimisation * Containers on the Counch - Container optimization strategy :movie_camera: https://www.youtube.com/watch?v=AM7Wy8bpyL0 * re:Invent 2022 - Building containers on AWS :movie_camera: https://youtu.be/S7JwFFZ-7_Q * ECS and AWS Resilience Hub Integration :movie_camera: https://www.youtube.com/watch?v=9GUZzAfuCOs * AWS Fargate right sizing dashboard (Oct 22) https://github.com/mreferre/container-insights-custom-dashboards/tree/master/fargate-right-sizing * AWS Fargate Enables Faster Container Startup using Seekable OCI https://aws.amazon.com/blogs/aws/aws-fargate-enables-faster-container-startup-using-seekable-oci/ * Amazon ECS Finhack Workshop https://catalog.us-east-1.prod.workshops.aws/workshops/4a04c5d0-6750-417c-a190-cbeb941fb664/en-US ## Migration Migration tools and strategies * AWS App2Container for Java and .NET https://aws.amazon.com/app2container/ * Porting Assistant for .NET https://aws.amazon.com/porting-assistant-dotnet/ * AWS Microservice Extractor for .NET https://aws.amazon.com/microservice-extractor/ * AWS Prescriptive Guidance - The strangler fig pattern https://docs.aws.amazon.com/prescriptive-guidance/latest/modernization-aspnet-web-services/fig-pattern.html * Migration Hub - Refactor Spaces https://aws.amazon.com/migration-hub/features/?nc=sn&loc=2#Incremental_app_refactoring **Interested in these? Chat with us about the App2Container Workshop which includes Refactor Spaces.** https://catalog.us-east-1.prod.workshops.aws/workshops/2c1e5f50-0ebe-4c02-a957-8a71ba1e8c89/en-US ## Operations Operational day 2 tasks * Autoscaling Deep Dive https://aws.amazon.com/blogs/containers/deep-dive-on-amazon-ecs-cluster-auto-scaling/ * Re-balancing ECS Tasks https://github.com/aws-samples/ecs-refarch-task-rebalancing * Easier EC2 instance maintenance with managed draining for Amazon ECS capacity providers https://community.aws/content/2bMN99heQOCAAkJDC7wwB6ObVyx/manage * Gatecheck enables users to define, check, and enforce policies on ECS tasks. https://arvindsoni80.github.io/gatecheck/architecture/ * Do's and Don'ts with AWS Batch https://aws.amazon.com/blogs/hpc/aws-batch-best-practices/ * Simplifying Amazon ECS monitoring set up with AWS Distro for OpenTelemetry https://aws.amazon.com/blogs/opensource/simplifying-amazon-ecs-monitoring-set-up-with-aws-distro-for-opentelemetry/ * Setting up AWS Distro for OpenTelemetry Collector in Amazon Elastic Container Service https://aws-otel.github.io/docs/setup/ecs * AWS CodeDeploy now supports linear and canary deployments for Amazon ECS https://aws.amazon.com/blogs/containers/aws-codedeploy-now-supports-linear-and-canary-deployments-for-amazon-ecs/ * Bottlerocket ECS Updater https://github.com/bottlerocket-os/bottlerocket-ecs-updater * Adding synchronous vulnerability scanning on push to ECR to stop container builds with critical vulnerabilities. https://hackmd.io/@arranp/B17X6of1T **Troubleshooting** * Access EC2 ECS Container Instances for rudimentary troubleshooting via System Manager https://hackmd.io/@arranp/By9vvpG1p * Get an interactive session on a running task with Fargate or ECS on EC2 using ECS Exec. https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html ## Security * Using Amazon GuardDuty ECS runtime monitoring with Fargate and Amazon EC2 https://aws.amazon.com/blogs/security/using-amazon-guardduty-ecs-runtime-monitoring-with-fargate-and-amazon-ec2/ # Case Study * Fire TV at Amazon Prime Video Modernizes Its Stack Using Amazon ECS with AWS Fargate https://aws.amazon.com/solutions/case-studies/amazon-prime-video-ecs-case-study/ # Self Paced Learning Badges & Training - .NET on AWS https://aws.amazon.com/developer/language/net/badges-and-training/ AWS Ramp-Up Guide - Containers https://d1.awsstatic.com/training-and-certification/ramp-up_guides/Ramp-Up_Guide_Containers.pdf AWS Skill Builder - Containers Learning Path https://explore.skillbuilder.aws/learn/public/learning_plan/view/83/containers-learning-plan