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
gefragt vor 5 Jahren398 Aufrufe
4 Antworten
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
beantwortet vor 5 Jahren
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.

beantwortet vor 5 Jahren
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
beantwortet vor 5 Jahren
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
beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen