Chef is one of the most popular Configuration Management systems.
You can run chef cookbooks with chef zero and chef solo.
- A server configuration contains one or several server blocks
- A server block contains a portion of the server configuration.
A server block can be configured in:
- Puppet manifests
- Chef cookbooks
- Docker containers
- ManageaCloud modules
- Shell (the generic interface)
1 - Login to your ManageaCloud.com account
Sign in to you account
2 - Click on "New server configuration"
3 - Add some basic information
The first step is to create the server configuration itself. Title is required, description is optional.
4 - Select provisioner
Select the provisioner that you want to use to configure the server. In this case we will select "Chef".
5 - Select distribution
Choose a release that will be used for the server configuration. If the server configuration is meant to run in multiple releases, you can add it later.
6 - Repository
Select an optional git repository that contains scripts and data needed for the server configuration.
- Name Repository name used for reference.
- Clone URL the URL to clone the repository. http(s) and git is supported. Git supports ssh key authentication.
- Branch Branch that will be used.
- Generate Public and Private keys This will generate a unique public and private key in case you need authentication.
7 - Customization
A server configuration can have multiple blocks. This allows you granularity in your configurations. You should now specify the block name.
You should also specify the chef command that will apply the configuration in the local server. This command can be:
- Chef-zero / chef client local
chef-client -z -o cookbook_name
8 - That's it!
Now you can reproduce the creation and configuration of the server as much as you like. Have a look at how to orchestrate configurations.