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 Risposta
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
ESPERTO
con risposta 7 mesi fa
  • 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

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande