For Single AMI with CloudFormation stack marketplace offer can i have a cloudformation template which creates ecs fargate services and lambda function ?

0

So, if i am going ahead with single ami with cloudformation stack marketplace offer to publish my app in aws marketplace ,can i have a cloudformation template which launches an ec2 instance and also launches an ecs fargate service (image is in my ecr) ,launches a lambda function(image is in my ecr). Or should the cloudformation template just contain code for launching the ec2 instance ?

1개 답변
0

Hi,

From you question, I understand that the container image is required to get your application to work properly via its CloudFormation template.

Then, you should follow the guidance of this blog post to build and share it properly via AWS Marketplace: https://aws.amazon.com/blogs/awsmarketplace/building-containers-images-for-aws-marketplace-containers-based-product-with-aws-codepipeline/

This other blog post will also explain how to list your container images properly via Catalog API : https://aws.amazon.com/blogs/awsmarketplace/automating-updates-to-your-container-listings-in-aws-marketplace-with-catalog-api/

Best,

Didier

profile pictureAWS
전문가
답변함 7달 전
  • Hi , Thanks for your reply but I don't think it answers my question. My question was more around the fact that ,if i could create ecs fargate and lambda function using the cloudformation template for single ami with cloudformation stack offer or will the cloudformation template should only have content to launch the ec2 instance

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠