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 年前

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

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

回答问题的准则