Postman#

Installation and configuration#

Download and install Postman that matches your target OS and CPU architecture.

To start using Postman, you need to get API access settings. Open the cloud management console. Go to the profile settings and click Get API access settings.

Create environment by specifying your secretKey and accessKey corresponding to similar options in the API access settings.

../../_images/Environment.png

Для работы с коллекцией CROC Cloud следует при импорте выбрать Ссылка и указать ссылку на коллекцию EC2, либо на коллекцию EKS. Сгенерированную CROC Cloud API документацию для Postman вы можете найти по ссылке для EC2, либо для EKS.

Usage example#

If the collection was imported correctly, sample requests will be displayed in the left part of Postman window. The requests are divided into subject domains according to the main documentation.

Note

Before executing a request, check that the parameters are sorted alphabetically.

Let’s use instance creation as an example:

Call the DescribeSubnets method to display available subnets.

../../_images/DescribeSubnet.png

A list of available images is also required to start an instance.

After required information is obtained, run RunInstances.

../../_images/RunInstance.png