-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate 2017 API ECS services Budget and Emergency Services from EC2 to Fargate #69
Conversation
Removed from/to combination intended for health check that I learned since defaults to its FromPort on the same port as the target listens on
…requests Can now confirm CloudWatch records healthcheck and external requests in the 2107-emergency-response-api task's CloudWatch logs
…ded for healthcheck and internet traffic
Only allow the port that's used by ALB to reach the containerized app
Moved from a temporary master-fargate-experiments.yaml that we no longer need
Removing no-longer-needed templates and template configurations for the 2017 Budget and Emergency services that have been migrated to Fargate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really awesome start to this migration!
] | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an open issue to refactor these TaskRoles to be provided to the stack rather than duplicated across every service?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was on my list of to-do's, and there is now:
hackoregon/civic-devops#249
Resolves hackoregon/civic-devops#244 for two of the five 2017 API services, and provides a working pathway to begin addressing hackoregon/civic-devops#238.
Converts two non-identical ECS services from EC2-based deployment to Fargate-based deployment.
These two Django APIs have dissimilar configurations (e.g. one logs its incoming requests to CloudWatch, the other does not), and have been migrated to Fargate tasks such that:
We are taking the opportunity - as part of our goals this season to reduce the AWS costs for our "staging" deploys - to reduce the number of container instances (Tasks) deployed in Fargate to 1 from the 2 that we have always deployed for every container since 2017.