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 Answer
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
answered 7 months ago
  • 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

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions