CloudFormation template publishing without creating and publish an AMI

0

Hello!
Is it possible to publish in AWS Marketplace my CloudFormation template without creating and publish an AMI, and specify in this template ubuntu 18.04 id (which I choose when launching an instance)?
For example like this:
"EC2Instance": {
"Type": "AWS::EC2::Instance",
"Properties": {
"ImageId" : "ami-0f65671a86f061fcd", #ubuntu 18.04 id or region mapping value with ubuntu 18.04 id in selected region
.....
#installing software and preparing instance in UserData section

Thank you!

antozh
질문됨 5년 전395회 조회
4개 답변
0

It is not possible to publish a CloudFormation template without an underlying AMI asset coming from you. AWS Marketplace's publishing process would need the AMI to be built as per the best practices outlined in https://docs.aws.amazon.com/marketplace/latest/userguide/best-practices-for-building-your-amis.html.

AWS
답변함 5년 전
0

Hi! Have the same case here.
Well... Can't we use AMI from Amazon Marketplace, or use smth like Amazon Linux, which is definitely built according all your standards? It would be a great overkill if we will have to maintain our own copy of Amazon Linux which is exactly the same.

답변함 5년 전
0

You can definitely use an Amazon Linux AMI as your base AMI and build your product on top of it. However, we do need an AMI with your product binaries baked in due to how we assign product code. From https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html

Each product in AWS Marketplace is assigned a unique product ID. This ID is used to track and identify the product in our catalog and is included in seller reports. A unique product code is assigned to all AMIs submitted to AWS Marketplace. The unique product ID is used to distinguish your product in AWS Marketplace and provide access to users who purchase your product as well as for the customer billing process.

AWS
답변함 5년 전
0

Thanks for the answer!
I can create and test a template with AMI from the store (like default ubuntu 18.04 image) but this template will not be valid for publication on the marketplace. It seems a bit strange to me.

antozh
답변함 5년 전

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

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

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

관련 콘텐츠