Publish AMI in the Marketplace with 2 x NIC

0

Hi,

Is there a way to publish an AMI in the marketplace with two NIC by default? (like in Azure marketplace with the help of templates).

Any responses would be greatly appreciated. Thanks in advance.

profile picture
asked 10 months ago368 views
2 Answers
1
Accepted Answer

Based on your query, you want to publish an AMI with two NICs by default in the AWS Marketplace. You can indeed achieve this by using AWS CloudFormation templates in conjunction with your AMI.

AWS Marketplace allows sellers to list AMI-based products that are delivered using AWS CloudFormation templates. You can use these templates to define complex or distributed architectures for your products, which can include configurations such as instances with multiple network interfaces.

In your case, you can use a CloudFormation template to automate the process of launching instances from your AMI with two network interfaces. When customers launch your product, the CloudFormation stack is created using your template, which includes the configuration for launching instances with two network interfaces.

To use CloudFormation with your AMI, you'll need to:

  1. Prepare and validate your AMIs.
  2. Create your AWS CloudFormation templates. These templates should include instructions to attach two network interfaces to the instances.
  3. Complete the product load form, where you provide details about your product.
  4. Submit all these materials to the AWS Marketplace team for validation.

For the CloudFormation template to be valid, it must launch successfully in all AWS Regions enabled for your product. You should verify this using the AWS CloudFormation console and the TaskCat tool. The template should include only the AMIs that are a part of your product. In your case, it would be the AMI that needs to be launched with two NICs. Remember that the AWS Marketplace team would need to review and validate your submission. Once this is done, they will work with you to make your product public.

Keep in mind that the infrastructure cost estimate for each template displayed to customers is based on an estimate you provide using the AWS Pricing Calculator. Also, you must provide an architectural diagram for each template that meets specific criteria, such as illustrating standard deployments on AWS and using AWS product icons for each AWS service deployed through the CloudFormation template.

I would recommend you to read the official documentation on this in case I missed any details: AMI-based delivery using AWS CloudFormation

In conclusion, you can't directly publish an AMI with two network interfaces on the AWS Marketplace. However, by providing a CloudFormation template alongside your AMI, you can automate the process for users to launch instances from your AMI with the desired configuration. This approach would also add more value to your product, as you can define complex architectures and configurations based on the needs of your users.

If the answer is helpful, please click "Accept Answer" and upvote it.

profile picture
EXPERT
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago
profile picture
EXPERT
reviewed 10 months ago
  • Many thanks! We really appreciated your detailed response. One more question: should we still publish our product as a server or we should choose another product type? We didn't see any option to add the template to be automatically taken into consideration.

  • The product type is AMI; instead of just an AMI-ID, you upload the templates and diagram. You can read the linked documentation that includes detailed instructions on all the steps to follow. AMI-based delivery using AWS CloudFormation

  • Hi Ivan, your answer have been very helpful but now that we have our CloudFormation template, we don't know how to submit it. We can only (maybe at the stage i which we are) submit an AMI and our AMI can't work without our CloudFormation template so the AWS scanner rejects it.

0

Hello,

Unfortunately we have not yet managed to submit our product by following the mentioned AWS documentation (https://docs.aws.amazon.com/marketplace/latest/userguide/cloudformation.html).

Our CloundFormation stack (one AMI with 2 x NICs) can be flawlessly created and our AMI perfectly works. We validated it using the AWS Console > CloudFormation:

The issue is that we didn't find any possibilities to submit our CloudFormation template to the marketplace and our AMI (referenced in that template) can't be properly intialized without that template. Once on the marketplace portal, if you go to the menu option "Products" > "Server" and select "Create server product" > "AMI with CloudFormation Stack" > "Single AMI with CloudFormation stack" (as you can see on the screenshot below):

Enter image description here

You get this message:

Enter image description here

Therefore, we make the specified XLSX document to upload. But prior to that upload, you should submit your AMI (and only an AMI and not a template) for scanning by AWS. In our case the scan fails because as said earlier, without our template our AMI can't work/initialized (especially for SSH connections).

Did we miss something?

Any help would be greatly appreciated. Best Regards, CG

profile picture
answered 9 months ago

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