AWS AMI
Overview
This page describes the complete setup flow to install Cloudify Manager Premium as an AWS AMI - A fully functional All-In-One Cloudify Manager.
Install
This tutorial assumes that you have a non free-tier AWS account and familiar with the basic actions of EC2.
Using the standard ec2 instance creation process, the non-default, and important parts are:
Choosing the Cloudify AMI, search for
Cloudify Platform BYOL
Choose an instance type that answers at least the basic requirements (e.g. t3.medium) | 2Vcpu, 4GB RAM
- ARM64 instance types can’t be selected for now - the AMI is x86_64 only. If you require an ARM64 architecture, please refer to our downloads page for more download options.
For SSH access, choose an existing Key pair you own or create a new one.
Network Settings
- Make sure to select a vpc that matches your requirements, if you want public access to the manager instance, expose it using public VPC & Subnet
- Make sure to set Auto-assign public IP to
Enable
- Security Group should be suggested by the AMI; but in general, for Cloudify you need the following ports:
- 22 - ssh access
- 80 - http access (not a must if the manager is going to accessed by SSL only)
- 443 - https access
- 53333 - Internal rest service (required by Cloudify)
Click - Launch instance
A few minutes after the instance is created, the Manager UI should be available at https://<instance-public-ip> (will prompt ‘unsafe’ warning).
Please Note: default username and password are admin/admin. It’s recommended to change the default password.
For license activation, please see this page
For CLI access there are two options:
ssh to the running instance using the the following command: (Also good for administrating Cloudify Manager instance)
ssh -i <keyPair> centos@<instance-public-ip>
Install cloudify cli locally and set a profile to access your desired manager see here (Good for external connections to the manager commands only).
Advanced configuration and options
- To connect by ssl to the manager (CLI & UI), configure a DNS record to the instance, or to an LB in front of it, and set an SSL certificate to that record, there are many ways to do so via AWS (e.g. aws-docs)
- To control the ssl option of the Cloudify Manager itself, connect using ssh and follow this section
- To adjust more options of the Cloudify Manager, run
sudo vi /etc/cloudify/config.yaml
, edit the file according to your needs, and runcfy_manager configure
to apply the changes. See all the available options here- e.g. changing the admin password, setting a hostname, adjusting postgresql/rabbitmq configurations