Setup a Cloud Phone System on AWS
Published: 2022-04-12 11:29:16

## One of the methods that we used when we want to install a free phone system on AWS is:

****************
•Create a free **AWS** account free tier (free for the first year).
•Create a **PBX** account like 3CX account also its free for the first year.

1. First we **create a free AWS account** from this link 

https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=*all&awsf.Free%20Tier%20Categories=*all

and when it finish remember the account was free for 12 months and after that some components will always free you must enter your credit card information and don’t be scary the account is free they only hold 1$ for 3-5 days to verify your identity, and for support for the plan you must choose **Basic support-free**.
 After that the account become ready.

2.In the beginning we must go to **IAM** Identity and Access Management and create a user from add **user bottom**



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/74uf6k44i473rkvmfd1k.jpg)



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bqcybar6kmmeb5zl6sok.jpg)
and input the user name we want, and select **Programmatic access** from AWS credential type


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pnhp40opeu4w7st17rvu.jpg)

and then click next and select **attaching existing policies directly** and select to this user access these policies:

- AmazonEC2FullAccess
- ServiceQuotasReadOnlyAccess


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3d3e00d50t45i2d1kwqd.jpg)

 Then press next and next and create user (finish) and you must download the.csv file that contain Access key ID and Secret access key. 



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ewinihucxddo3vqz4o75.jpg)


3.Create **key pair** in EC2 filed 
rename it and choose **pem** file format the file automatically will be download  


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uu9ca5fb5k1u8x310rlm.jpg)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wtil3bilm84wbz38r5ru.jpg)



4.Go to **AWS Marketplace** 
and go to **Discover products** and search for **Debian 10** 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sbbzhl2srubvsem42a43.jpg)

and choose **continuo to subscribe** (its free) and **Accept Terms** and click on **Continue to Configuration**


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hqagyuv1emlriqjfdd1y.jpg)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iq71t03ytqoptqfo5s5t.jpg)


 and you must name the **EC2 Instance** “Amazon Elastic Compute Cloud Instance “and choose the EC2 type the free tire (like T2.micro) and choose the **Key pair** in **node 3** wait until the installation complete. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dc4gncrv08c1valqtafz.jpg)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/72oj2y6c1gpbb0oopay2.jpg)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kq5q7cmkb1py1gdz9jgd.jpg)
5.Go to one of PBX site like 3CX site for example and create a free user for 1 year and confirm your email.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hgdwzbutbao4pcpy61z5.jpg)

We will receive a message with link, we should register our information like phone number and create a password 
and then we must go to **My Subscription** in portal link and follow the steps bellow:  

**Step 1** choose **Self host in your Cloud**.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fl6d98f5eylokhfixgk8.jpg)

**Step 2** select country, time zone and language.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ngfpo1o5dqhe2mhblx03.jpg)

**Step 3** choose your extension length.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mkmvmrt0sa3vf24citxn.jpg)

   Step      choose your Domain.

**Step 4   Provider selection** select your **Cloud 
           Provider(Amazon–AWS)** and enter the Access key ID and 
           Secret access key in **node number 2**,select **Region** 
         (same region in AWS you choose) 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ap00kdrx1pk86fa4myh8.jpg)

**Step 5   Provider setting** 
           we must select a **unique machine name**
           same region in our account 
           select **key pair** (in node 3 )
           select **Machine type** (the free tire machine )


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qv13xw7tvuat9se01ylk.jpg)

**step 6** Agree the **user agreement**

**step 7 installation**



and your PBX is begin installed ,after the install is finish you will receive an email contain the username and password and all the link for controlling page and installing the software .


6.Finally you can add a number from **Extensions** or **users**, we can add users and specific a number to them and give the user their QR code to login from their phones  .


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/izocz8c5j9slggxskdou.jpg)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ypbtrhno022xfp1sotj.jpg)

7.The user must install 3CX on their phones and scan their QR code and they can use the program to calling each to others with very clear and good sound.


my LinkedIn account https://www.linkedin.com/in/mustafamahdi/