Snapt was designed first and foremost for the cloud, and being a software only solution, we focus our effort on ensuring that our customers can access to our product through whichever platform they utilize in their environment.
Amazon has been leading the way in the public cloud space for many years and were the first public cloud to see an official Snapt offering listed on their marketplace.
We've created a free guide for other startups looking to publish an AMI on the Amazon marketplace. Don't forget Snapt for your ADC needs ;)
AWS provides you with all the tools you need to easily create and share virtual machine images with the world. This article will look at the process of creating and publishing your product through the AWS Marketplace.
Create a new VM using one of Amazons official base images
Below are the top five most popular images, however there are more available, including Windows images.
Choose the type and size for your VM
Amazon has a massive range of options, whether you need to optimize for storage, memory, compute or graphics, they have it all.
Bonus: For individuals looking for a cheap way to prototype or test their products, Amazon also has a free tier
Configure your settings
Next you will configure your networking, storage and security options before launching your new instance.
Create a snapshot
Now you should have a running instance ready to be customized according to your requirements. Once you have integrated your product and are ready to share it with the world you need to create a snapshot. Before you do that you need to make sure you’ve cleared any personal/user data form the machine.
We have included a range of useful commands to run before creating your snapshot.
Firstly, clear any files left in the /tmp/ directory and remove .bash_history file which stores a copy of all the CLI commands you ran as that user. The second line removes your ssh key from the server.
rm -rf /tmp/* /home/<user>/.bash_history
rm -rf /home/<user>/.ssh/authorized_keys
Be sure to do the same if you have been making use of the root user:
rm -rf /root/.bash_history
rm -rf /root/.ssh/authorized_keys
It’s also good practice to not allow access to the system via the root user account. This should be disabled by default but its best to check this before distributing your image.
Now you can create your AMI (Amazon Marketplace Image).
Submit your image
Now it’s time to head over to the AWS Marketplace Management portal to submit your newly created AMI for scanning. Select the heading “AMIs”, choose your AMI from the list of Unshared images and click “Share AMI’s”.
Amazon will now scan your image to ensure it meeting their security guidelines.
Note: If you forgot to remove any ssh keys in the previous step your image will fail the scan.
If you received a “successful” status from the scan you may proceed with listing your AMI on the marketplace. Head over to the “Listings” tab and select the type of product you would like to create in the “Create a new product” dropdown.
Add service listing details
You will need to fill out a few pages detailing the particulars of your product and image including the regions you want to publish in and the instance types that you want to support among others.
Begin the review process
Once you have filled all that in you can complete the process by clicking “Review”
This will now submit your new product listing for review by the Amazon Marketplace team.
You should then receive a confirmation email once approved and your new AMI will be available to users through the official AWS marketplace.
It’s relatively easy process and as Amazon provides the tools you can create and share virtual machine images with the world, in a few simple steps.