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

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则