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 réponse
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
EXPERT
répondu il y a 7 mois
  • 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

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions