How can I connect to a database from a Fargate ECS task?
Before you go any further, make sure you have an Amazon ECS cluster and an Amazon Relational Database Service (Amazon RDS) database running on Fargate. Make a connection between your task and the database. Create a Python script that connects to your MySQL database first. After that, write a Dockerfile with the commands needed to... Continue Reading