<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Felix Mejia on Medium]]></title>
        <description><![CDATA[Stories by Felix Mejia on Medium]]></description>
        <link>https://medium.com/@mrmejia24?source=rss-64ffe19ea74a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jSYZv9AsKRaFS_KQFbZlGA.jpeg</url>
            <title>Stories by Felix Mejia on Medium</title>
            <link>https://medium.com/@mrmejia24?source=rss-64ffe19ea74a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 15:56:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mrmejia24/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AWS Project: Creating a cloud PBX in AWS]]></title>
            <link>https://medium.com/@mrmejia24/aws-project-creating-a-cloud-pbx-in-aws-531b82c8ffcc?source=rss-64ffe19ea74a------2</link>
            <guid isPermaLink="false">https://medium.com/p/531b82c8ffcc</guid>
            <category><![CDATA[cloud-technology]]></category>
            <category><![CDATA[pbx-solution]]></category>
            <category><![CDATA[cloud-services]]></category>
            <dc:creator><![CDATA[Felix Mejia]]></dc:creator>
            <pubDate>Sun, 05 Mar 2023 14:52:16 GMT</pubDate>
            <atom:updated>2023-03-05T14:52:16.384Z</atom:updated>
            <content:encoded><![CDATA[<p>This project will use the AWS free tier and 3cx (free for a year).</p><p>Projected time: 45 minutes</p><p>Project price: free (AWS free tier/3cx free for a year)</p><h4><strong>1. User creation and EC2 Configuration</strong></h4><p>In the AWS console will be going to the IAM service,</p><ul><li>Creation of “3cx” user.</li><li>Select “Attach policies directly” and add “AmazonEC2FullAccess” and “ServiceQuotasFullAccess”.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qrisWjNfGnlPNeV1axdK5w.jpeg" /></figure><ul><li>After “3cx” user is created, go to the Security credentials tab and scroll down to “Create access key” and use the “Application running on an AWS compute service “ option.</li><li>Navigate to EC2 Dashboard, create key pair, and name the key pair “3cxkeypair” using pem file format. Save the keypair file.</li><li>Open AWS Marketplace and subscribe to Debian 10 Buster.</li></ul><h4><strong>2. Setup 3cx (https://www.3cx.com/)</strong></h4><ul><li>Create an account</li><li>Select “Add System”, select “Self hosted (On-Premise / Private Cloud)”, “Self-hosted with your cloud provider”, choose your hostname and domain close it to you, add users, pick “Amazon — AWS” as a cloud provider and use the access keys created on step 1.</li><li>Set the extension, I preferred the four digits, but you can pick whichever you one.</li><li>Configure your OS, and select your time zone and language.</li><li>Set your machine name, select your AWS region, choose the keypair keys you created in step 1, and select the machine type: t2.micro. (This process will take around 7–10 minutes)</li><li>Save your web access, username, and password.</li><li>Install the 3cx app on your phone.</li></ul><h4><strong>3. Setup Amazon Chime</strong></h4><ul><li>Create a new account and use all available regions.</li><li>Click “Phone number management” and go to orders and Provision phone numbers. Select Voice Connectors, and on Type, select “Toll-Free or Local number”.</li><li>Click on “Voice connectors” and create a new voice connector. Name your voice connector, pick your region, and disable encryption. Configure your new voice connector.</li><li>Termination tab — enabled termination status and added a new host list. On the CIDR notation, input the public address from your EC2. On the calling plan, add your country. Create new credentials. Save your configuration.</li><li>Origination tab — enabled origination status and configured a new inbound route. Login to your 3cx dashboard, copy your FDQN into your host and keep the standard configuration. Save your configuration. Phone number tab — assign your number from your inventory.</li></ul><h4><strong>4. Setup your 3cx dashboard</strong></h4><ul><li>SIP Trunk tab — Add the SIP trunk and the country where you will use the PBX. Select Amazon Chime and add the number you created to it.</li><li>The registrar will be the “Outbound hostname” from the voice connectors section in the AWS chime.</li><li>On authentication, input the credentials created earlier on the Amazon Chime setup.</li><li>Set up outbound rules — change the number prefix to start with 9.</li><li>Save configuration.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=531b82c8ffcc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Serverless Web Application - Part 2 - User Management]]></title>
            <link>https://medium.com/@mrmejia24/building-a-serverless-web-application-part-2-user-management-9ee0985ed51a?source=rss-64ffe19ea74a------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ee0985ed51a</guid>
            <dc:creator><![CDATA[Felix Mejia]]></dc:creator>
            <pubDate>Fri, 23 Dec 2022 20:01:29 GMT</pubDate>
            <atom:updated>2022-12-23T20:01:29.493Z</atom:updated>
            <content:encoded><![CDATA[<p>This is part two of a 4 series tutorial on how to build a serverless web application from the <a href="https://aws.amazon.com/getting-started/hands-on/?intClick=gsrc_navbar&amp;refid=ps_a131l0000085ejvqam&amp;trkcampaign=acq_paid_search_brand&amp;getting-started-all.sort-by=item.additionalFields.content-latest-publish-date&amp;getting-started-all.sort-order=desc&amp;awsf.getting-started-category=*all&amp;awsf.getting-started-level=*all&amp;awsf.getting-started-content-type=*all">AWS hands-on tutorials</a></p><ol><li>Host Static Website</li><li><strong>User Management (10–15 minutes)</strong></li><li>Build a Serverless Backend</li><li>Deploy a RESTful API</li></ol><p>In this article, we are getting familiar with Amazon Cognito. Amazon Cognito provides an identity store that scales to millions of users, supports social and enterprise identity federation, and offers advanced security features to protect your consumers and business. Built on open identity standards, Amazon Cognito supports various compliance regulations and integrates with frontend and backend development resources.</p><p>The tasks for this tutorial:</p><ul><li>Create an Amazon Cognito User Pool</li><li>Add an app to the User Pool and update the website config</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*uHX8tfr_qW7FGd63oLZ7fw.png" /></figure><p>This tutorial is short and sweet. First, open the Amazon Cognito console, select Manage Users Pools, we are going to name the User Pool: WildRydes. We are going to leave the defaults settings and create our pool. Copy and save your Pool ID and ARN for later use.</p><p>The from the General settings, you are going to select and add an app client, named the client “WildRydesWebApp”, uncheck the Generate client secret option, and create app client. Copy and save the App client ID.</p><p>The final step is to update the website configuration file, /js/config.js. Open your favorite text editor (mine is Visual Studio Code) and update the cognito section with the userPoolID and the userPoolClientID that we saved from the last step. Then we are going to modified our file and push it to our Git repository.</p><ul><li>git add .</li><li>git commit -m “new_config”</li><li>git push</li></ul><p>In this module, you created an Amazon Cognito user pool to manage your users’ accounts and deployed pages that enable customers to register as a new user, verify their email address, and sign into the site.</p><p>The intent of this tutorial is to give you a base to create your own project. The link to the original AWS tutorial that I used as a reference can be find on this <a href="https://aws.amazon.com/getting-started/hands-on/build-serverless-web-app-lambda-apigateway-s3-dynamodb-cognito/module-2/">link</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ee0985ed51a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Serverless Web Application]]></title>
            <link>https://medium.com/@mrmejia24/building-a-serverless-web-application-5970cfbdfb97?source=rss-64ffe19ea74a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5970cfbdfb97</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-codecommit]]></category>
            <category><![CDATA[aws-tutorial]]></category>
            <category><![CDATA[aws-amplify]]></category>
            <dc:creator><![CDATA[Felix Mejia]]></dc:creator>
            <pubDate>Fri, 16 Dec 2022 18:11:19 GMT</pubDate>
            <atom:updated>2022-12-19T21:53:55.173Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building a Serverless Web Application - Part 1 - Host Static Website</h3><p>This is part one of a 4 series tutorial on how to build a serverless web application from the <a href="https://aws.amazon.com/getting-started/hands-on/?intClick=gsrc_navbar&amp;refid=ps_a131l0000085ejvqam&amp;trkcampaign=acq_paid_search_brand&amp;getting-started-all.sort-by=item.additionalFields.content-latest-publish-date&amp;getting-started-all.sort-order=desc&amp;awsf.getting-started-category=*all&amp;awsf.getting-started-level=*all&amp;awsf.getting-started-content-type=*all">AWS hands-on tutorials</a></p><ol><li><strong>Host Static Website </strong>(15–20 minutes)</li><li>User Management</li><li>Build a Serverless Backend</li><li>Deploy a RESTful API</li></ol><p>In today’s article, we are going to get familiar with two AWS Services: AWS CodeCommit and AWS Amplify.</p><p>AWS CodeComit is a fully managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories. AWS CodeCommit eliminates the need to operate your own source control system or worry about scaling its infrastructure. You can use AWS CodeCommit to securely store anything from source code to binaries, and it works seamlessly with your existing Git tools.</p><p>AWS Amplify is a set of purpose-built tools and features that enables frontend web and mobile developers to quickly and easily build full-stack applications on AWS. Amplify provides two services: Amplify Hosting and Amplify Studio. Amplify Hosting provides a git-based workflow for hosting full-stack serverless web apps with continuous deployment.</p><p>The tasks for this tutorial:</p><ul><li>Create and populate your repository</li><li>Create Git credentials to use with AWS CodeCommit</li><li>Enable Web Hosting with AWS Amplify</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*vdoURGMqNIMPPVfirmx1Bg.png" /><figcaption>The Amplify Console provides a git-based workflow for continuous deployment and hosting of full-stack web apps.</figcaption></figure><p>Step 1: Create a repository using AWS CodeCommit.</p><p>On this section, open <a href="https://us-east-1.console.aws.amazon.com/codesuite/codecommit/repositories?region=us-east-1">AWS CodeCommit</a> to create our first repository. It is as easy as selecting the “Create repository” button, we are going to use “wildrydes-site” as a our Repository name and select Create.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*F827z5aQcFqeX5zdXMhTbw.png" /></figure><p>Step 2: Create Git credentials for HTTPS connections to AWS CodeCommit and create local repository</p><p>Using the IAM console, under the Access Management section, select “Users” and select the user that you are going to utilize for this project. On the Security credentials tab, scroll down to the HTTPS Git credentials for AWS CodeCommit and select Generate credentials. Copy and save the credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*SwaxcN_rGronztM1WBUg2w.png" /></figure><p>From the AWS CodeCommit console, get the URL of your repository, then open a terminal and make a local repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*3_paJSVMbDLJ_K0dgdZVgw.png" /><figcaption>The username and password is the one generated on the earlier on the IAM console</figcaption></figure><p>The next step will be to populate our local repository. First we have to change directory to your repository and copy the static files from GitHub repository. I used <a href="https://git-codecommit.us-east1.amazonaws.com/v1/repos/wildrydes-site">t</a>his <a href="https://git-codecommit.us-east1.amazonaws.com/v1/repos/wildrydes-site">repository</a>.</p><p>This will create another “wildrydes-site” folder in your repository, to make it work I copy the files from this repository with the exception of the “.git” folder to my local repository and delete the folder to avoid confusions later. After completion of transferring the files, you need to commit he files to your Git services in AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kU7qv8K-7nqZbej1cJ_ktg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*a4o62QoHIZT_OKVtmTiFcg.png" /></figure><p>Step 3: Enable Web Hosting with AWS Amplify</p><p>From the AWS Amplify console, scroll down and select “Get started” from Amplify Hosting. Then you are going to select CodeCommit and your repository, leave the defaults configurations and acknowledge “Allow AWS Amplify to automatically deploy all files hosted in your project root directory”. The process will take a couple of minutes to create the necessary resources and to deploy your code. Once completed, click on the site image to launch your website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*xaYebHruaGX8NBAh16fDqw.png" /></figure><p>In this module, you’ve created static website which will be the base for our Wild Rydes business. AWS Amplify Console makes it really easy to deploy static websites following a continuous integration and delivery model. It has capabilities for “building” more complicated Javascript framework based applications and has features such as feature branch deployments, easy custom domain setup, instant deployments, and password protection.</p><p>The intent of this tutorial is to give you a base to create your own project. The link to the original AWS tutorial that I used as a reference can be find on this <a href="https://aws.amazon.com/getting-started/hands-on/build-serverless-web-app-lambda-apigateway-s3-dynamodb-cognito/module-1/?refid=ps_a131l0000085ejvqam&amp;trkcampaign=acq_paid_search_brand">link</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5970cfbdfb97" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>