I recently started a project which I need to automate the installation of Asterisk servers for my customers in AWS infrastructure. Customers already own AWS infrastructure.
I was thinking the following approach:
a) AMI image:
- Install Asterisk EC2 instance and create an image (Account A).
- Move this image from Account A to customer account (Account B) and then configure accordingly. This may be challenging as not sure if I can transfer AMI image across different accounts.
b) Installation script:
Create a shell script based on the following:
Use Chef server and have a bootup script for EC2 instances to install Chef client and then get the Asterisk recipe.
d) Docker installation
Use Docker containers and simplify installation, this will require install docker and then deploy the container.
Any suggestion/feedback is appreciated.