Profiles in Akeero

If you have ever written infrastructure as code you will notice that you repeatedly configure the same resources over and over. Constructs work well to address this but are inherently limited. If you need to make a change you have to use escape hatches and the higher the abstraction the more limited you are. Profiles in Akeero completely change how you work with infrastructure.

Profiles let you set as many defaults as you wish across any number of resources. You can then assign a profile to your project and any resource you drop onto the canvas will be bound by the defaults you have chosen. If you want to make a small change that is no problem - you simply change the property and the code is automatically updated. You can easily revert back to the default if required.

You are currently limited to one profile per project but we are working on multi-profile support which would act as multilayer descriptors for your specific project.

How to set up a profile

  1. Navigate to 'Profiles' in the nav menu.
  2. Click on 'New Profile'.
  3. Give your profile a name, e.g. Cost Saving, Production, etc. You can also give it a colour to make it more easily identifiable.
  4. If you wish to make the current profile the default for all new projects you can flip the switch on.
  5. Set the defaults for whichever resources you wish. There are no requirements so you can seet as many or as few defaults as you wish.
  6. Once you have finished with the setup you can click save.

Applying the profile

New projects

  1. If you have a default profile set, all new projects will open with the default profile. Any resources dragged on to the canvas will inherit these defaults.
  2. After you create your project, click 'Overview' in the top right of the canvas, then click the profile dropdown to choose which profile to assign to the project. Any resources dragged on to the canvas will inherit the properties from the profile you have chosen.

Existing projects

  1. If you have an existing project with no profile attached you can still utilise profiles. Click 'Overview' and select the profile from the dropdown. Your existing properties will take precedence over the profile properties. However, any differences between your existing and profile properties will be highlighted.
  2. To revert properties to the currently selected profile you can simply click on the property name and the click 'Reset to default'. This will revert the property to that defined in the profile.

Changing profiles

You can change from one profile to another. Any differences between the current properties and the new profile will be highlighted. To change the properties to the current profile click the property name and click 'Reset to default'.

Overriding the defaults

One of the main benefits of Profiles is that you can override the individual properties within when the need arises without compromising the benefits. To do so simply change the property required and it will update the code. The property will be highlighted to show that it is no longer governed by the profile but can be reset to default at any time by clicking on the property name and clicking 'Reset to default'.