Skip to content
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

Service discovery and CodeDeploy support #2

Open
snarkyboojum opened this issue Feb 19, 2019 · 2 comments
Open

Service discovery and CodeDeploy support #2

snarkyboojum opened this issue Feb 19, 2019 · 2 comments

Comments

@snarkyboojum
Copy link
Collaborator

These seems to be the two biggest gaps currently.

I could build a couple of custom resources and then bundle those as CDK constructs. Should make it clean-ish in terms of composition, and then we could use those constructs to plug the gaps in the current script.

Thoughts?

@snarkyboojum
Copy link
Collaborator Author

snarkyboojum commented Feb 19, 2019

Actually, we can just use the AWS CloudFormation library for CodeDeploy & Service Discovery:

See,
https://awslabs.github.io/aws-cdk/versions/0.8.1/cloudformation.html
https://awslabs.github.io/aws-cdk/versions/0.8.1/refs/_aws-cdk_aws-codedeploy.html
https://awslabs.github.io/aws-cdk/versions/0.8.1/refs/_aws-cdk_aws-servicediscovery.html

Would still be neat to wrap these up as constructs, but should be easy enough to write it all inline in your current script.

@brightsparc
Copy link
Owner

brightsparc commented Feb 20, 2019

Service discover for MySQL is implemented (with a workaround given it’s not supported as park of ECS service yet) - this is used to resolve MySQL from Wordpress container.
See: aws/aws-cdk#1554

I didn’t add code deploy as there is no way to tie it up with ECS service until that feature is made available through CFN or we create a custom resource to build that service.
See: aws/aws-cdk#1559

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants