Creating an Amazon AWS Account to Use with 3CX
Whilst creating your PBX Express instance on your Amazon AWS Account, you may experience issues due to cloud resources not being available at the given time. You're advised to wait and try again.
Creating an account
If you would like to use 3CX with AWS and don’t have an account, follow the steps below to create one:
- Navigate to https://aws.amazon.com/ and complete the registration process.
- Part of the procedure involves receiving a call from Amazon to enter a one time PIN.
- Once you have registered, log on to the AWS console here.
Setting Up your Account for Use with 3CX
- Once logged on to the AWS console, search for “IAM” in the top search box. Select the IAM - Manage User Access and Encryption Keys option.
- In the Identity and Access Management page, click the “Users” link.
- Once in the Users page, click Add User to add a new user to the system.
- Enter a Username, select programmatic access and click Next.
- Select “Attach existing policies directly”. From the filter policy type search for “ec2” and select “AmazonEC2FullAccess”. Then click Next. Now review the details you have entered and when ready, click “Create User”.
- You will receive a confirmation that the account has been created. The two important pieces of information you will need from this page are the Access Key ID and the Secret Access Key. With these two keys you will be able to create your PBX Express instance on your AWS account.
Creating your SSH Key pairs
- Log on to the AWS Console.
- From the left menu navigate to Network & Security and select key pairs.
- Select “Create Key Pair”, and give the pair a name.
Agreeing to Marketplace Debian Terms and Conditions
Each product in the AWS Marketplace has its own terms and conditions. In order for 3CX to run on AWS you are required to agree to the Debian terms and conditions in the AWS Marketplace.
- Visit the marketplace page for Debian 8 Jessie here.
- Click “Continue” to launch an instance of Debian Jessie. This is necessary as it will not allow you to accept the terms and conditions otherwise.
- Now that you have launched your Debian instance, navigate to the EC2 Console and select Instances under the Instances menu.
- Right click on the instance you created, navigate to Instance State and select Terminate. This will end the instance we created to ensure that the terms and conditions of AWS Marketplace have been agreed to.
Important: When creating your PBX Express instance you are asked for a Username and Password. The Username is your AWS Key and the password is your AWS Secret Key.
- Now you can use your AWS credentials with PBX Express by entering the details you received during the creation of your user account in the IAM section of the EC2 Console.