BILLYSOFTACADEMY

Steps To Take To Deploy The Zimbra Open Source Edition (OSE) Email Server In The Cloud On Amazon Web Services.

As a business organization grows and expands to new geographical locations and regions it is important to have IT solutions that can support such a business during times of rapid growth and also shrinkage. The emailing solution is a mission critical component of any business and also needs to be easily reconfigurable during times of business growth and expansion and as well business shrinkage. There are many email software solutions some of which cost thousands of dollars to purchase and maintain as well as open source email solutions that can be used in almost any organization free of charge. The aim of this tutorial is to show you how you can easily deploy an email solution for your organization that can handle your needs during times of business growth as well as during times of business shrinkage. You’ll learn the steps that you need to take to deploy the Zimbra Open Source Edition (OSE) email server in the cloud on Amazon Web Services (AWS)

REQUIREMENTS

In order to complete this tutorial successfully the following items are required. Please ensure to have these items available before taking implementation action on this tutorial:
1) An internet connection with atleast 1 MBPS bandwidth.
2) An AWS free tier account.
3) An AWS linux ubuntu 18.04 instance.
4) The Zimbra Collaboration Open Source Edition installation files for Linux ubuntu 18.04
5) A registered domain name FQDN with mx records pointing to the AWS linux ubuntu 18.04 instance.

OVERVIEW

1) Go to aws.amazon.com and create a free tier account if you do not already have one and create an IAM user account
2) Sign into the free tier account using the IAM user account and create a linux ubuntu 18.04 instance.
3) Set an ELASTIC IP ADDRESS, HOSTNAME and POINT MX records to the UBUNTU instance.
4)
5)

Step 1: Sign up For An AWS Free Tier Account And Create An IAM User Account.

1) Click HERE to go to the AWS free tier account creation page then click on the CREATE FREE ACCOUNT button.  Type in your EMAIL ADDRESS, PASSWORDS AND ACCOUNT NAME on the spaces provided and click on CONTINUE.

2) On the CONTACT INFORMATION page, set the ACCOUNT TYPE to PERSONAL but if you creating the account for your business or work place choose the PROFESSIONAL option instead.

Type in your FULL NAME, PHONE NUMBER, COUNTRY, ADDRESS, CITY, STATE / PROVINCE and POSTAL CODE on the appropriate spaces provided and click on the CREATE ACCOUNT AND CONTINUE button.

3) Next, you will be asked to enter your credit card details. Please note that you will not be charged anything and AWS used your credit card information to  verify your identity and only for usage in excess of the AWS Free Tier Limits.

Type in your CREDIT / DEBIT card number, EXPIRY DATE, as well as the CARD HOLDER NAME on the appropriate spaces provided and click on the VERIFY AND ADD button.

Complete the phone number verification process, choose the FREE support plan then click on the SIGN IN TO THE CONSOLE button.

4) Once you are signed into the console, click on SERVICES then search for IAM on the search bar. Choose the IAM search result to open the IAM MANAGEMENT CONSOLE.

Click on USERS > ADD USER and on the SET USER DETAILS section type in your username and set the ACCESS TYPE option to AWS MANAGEMENT CONSOLE ACCESS. On the CONSOLE PASSWORD option, choose the CUSTOM PASSWORD radio button and type in a password on the text input box.

Click on the REQUIRE PASSWORD RESET if you would like to set a new password at next-sign in. This is optional and is recommended if you are setting a password for someone else.

Click on the NEXT: PERMISSIONS button to proceed.

5) On the SET PERMISSIONS section, click on the EC2Administrators checkbox and click on the NEXT: TAGS button.

AWS tags allow you to set labels on AWS resources thereby making it easier for you to identify, manage, search for, and filter AWS resources. In the case of an IAM user tags allow you to set details such as contact information, job titles, roles and descriptions.

On the ADD TAGS page, an example of a tag that you can type for a user is their email address. So you can type in the words “EMAIL ADDRESS” as the key and “user@emailaddress.com” as the VALUE.

Click on the NEXT: REVIEW button then click on the CREATE USER button to complete the IAM user creation process.

6) On the IAM MANAGEMENT CONSOLE, note down your AWS  ACCOUNT ID and log out of the AWS MANAGEMENT CONSOLE. Click on the SIGN INTO THE CONSOLE button. Select the IAM USER option, type in your AWS ACCOUNT ID and click on NEXT.

Enter your IAM username and password then click on  SIGN IN.

Step 2: Create The Linux Ubuntu 18.04 Instance.

7) From the AWS MANAGEMENT CONSOLE, click on SERVICES > EC2 and click on the LAUNCH INSTANCE button.

Click on the AWS MARKETPLACE tab and search for UBUNTU. Click on the blue SELECT button on the “Ubuntu 18.04 LTS – Bionic” search result.

A popup window will be displayed showing a description of what “Ubuntu 18.04 LTS – Bionic” can do as well as product and pricing details. Click on the CONTINUE button to proceed.

8) On the CHOOSE INSTANCE TYPE page, click on the T3.MICRO option with the green FREE TIER ELIGIBLE flag and click on REVIEW AND LAUNCH.

If you wish to make an changes to the instance such as changing the INSTANCE TYPE or editing the INSTANCE SECURITY GROUP, such changes can be made on the “REVIEW INSTANCE LAUNCH” page. If there are no changes to be made click on the LAUNCH button.

Once the instance creation process is complete, click on the VIEW INSTANCES button.

9) You will be prompted to either select an existing key pair or to create a new key pair. Select the CREATE A NEW KEY PAIR option, type in a name for the key pair on the KEY PAIR NAME text box then click on the DOWNLOAD KEY PAIR button.

Once you have downloaded the private key, click on the LAUNCH INSTANCE button.

Set An Elastic IP Address, Hostname And Point MX Records To The Ubuntu 18.04 Instance.

10) Go to the EC2 MANAGEMENT CONSOLE and on the NETWORK & SECURITY section, click on the ELASTIC IP’s option.

Click on the ALLOCATE ELASTIC IP ADDRESS button then click on ALLOCATE.

Click on the check box next to the newly allocated IP address then click on ACTIONS > ASSOCIATE ELASTIC IP ADDRESS.

Set  the RESOURCE TYPE to INSTANCE, select the UBUNTU 18.04 instance ID on the INSTANCE selection box then click on ASSOCIATE.

11)