Build your own Cloud Infrastructure

Building and deploying infrastructure on Microtica is made using Microtica Infrastructure Builder which consists of two parts – Components and Environments. In this tutorial, we will see how you can build your own Cloud infrastructure using GUI and how to deploy and manage that infrastructure.


To follow along with this tutorial you will first need to connect your AWS account.

Since Microtica does all the dirty cloud integration stuff, you don’t need to worry about integration and writing custom scripts at all.

#Creating an environment

An environment is where you add components and build your own Cloud infrastructure blueprint.
Components are simply a wrapper around CloudFormation with a few additional benefits for enhanced CI/CD and distribution within different cloud accounts and regions.

Advanced infrastructure

We recommend reading Provisioning Infrastructure to go deeper into building custom and more complex cloud infrastructure.

Under Infrastructure, click the Environments button from the left side bar. The next you will see is the list of environments with their current status.
If this is your first environment you would see a quick guide to environments instead.

Build your own cloud infrastructure from microtica environments list
Microtica Environments list

Click on the Create Environment button on the top right. This will bring a new screen that allows you to create a new environment.

Choose a name and description of your choice.

Next, you need to select your connected AWS account. If you haven’t done that yet, you can connect your AWS account from this screen as well.

The account and the region you select will be the place where all resources will be provisioned.

Create environment form

This is all you need to do to configure the environment. Now click on the Create Environment button at the bottom.

Finally, you are ready to add components to the environment. Click on the Add Components button. The next screen that will appear is the environment playground.

Build your own Cloud infrastructure with Microtica Environment playground
Microtica Environment playground

The segments in this screen are:

  1. Create Plan – observe all changes in the environment before deployment
  2. Logs – deployment logs
  3. Additional actions. Replicate, un-deploy and delete environment
  4. Components catalogue. A list of your custom components and Microtica provided components

For this tutorial, we’ll use Microtica’s provided component: AWS S3 component.

Choose AWS S3 component from the list of Microtica Components in the right panel. The next modal that appears allows you to configure the component.

Microtica Component configuration

The modal has the following fields:

  • Resource name – a friendly name for the component in this environment
  • Version – version of the component to be deployed. If you choose latest, then the latest version of the component will ALWAYS be deployed
  • bucketName (optional) – the name of the bucket. If not provided, random name will be chosen
  • accessControl – should this bucket be publicly accessible or not
Latest version

If you choose the latest version in the component configuration, the latest version of the component will always be deployed on each subsequent deployment. This approach is convenient for development and testing environments.

Consider using fixed versions for production environments for better control of deployments.

Finally, click on the Create button in bottom right to add the component in the environment. You can now see the component in the environment.

#Deploying environment

To ensure that you’re aware of every change, Microtica will first provide you the deployment plan before the actual deployment.

Click on the Create Plan button to initiate deployment. The next screen that will appear is the environment plan.

Microtica Environment deployment plan

On this screen, you can see all the components to be deployed with the respective action (add, update, or remove).

Component removal

If you remove a component from an environment, the action for the component will be Remove.

You will be asked to confirm the deployment if there are components to be removed.

If you are satisfied with the deployment plan, click on Deploy button.

Now deployment is being triggered and resources are being created on your cloud account.

MIcrotica Deployment logs

After less then a minute our bucket is ready.

Bucket in the AWS console

You now have completed the whole process of creating infrastructure with Microtica.

This is a very simple example, you should notice the full power of Microtica when you start creating more complex infrastructure with more building blocks (components) involved.

#Clean up

To remove all the resources we’ve created from your cloud account, go to environment details and select Undeploy from the menu.

Undeploy environment

This will clean up the resources created in the cloud, but you will still have the configuration in Microtica in case you want to deploy it in the cloud again.