Last Updated: 17 April 2018
By Maynard Paton


Associating An Elastic IP To Your AWS Server


Welcome to Part 4 of Installing Sendy and Virtualmin on Amazon Web Services (AWS).

This page describes how to associate an elastic (or fixed) IP address to your AWS server (or ‘instance’). This IP address will remain associated with your server even when the server is stopped or rebooted, and ensures consistent access to your Sendy and Virtualmin installation. (Source:  AWS)

Before You Start:

Part 4 involves creating a DNS record through Your Webhost's Control Panel so you can access Sendy at Your Sendy Installation URL.

Please refer to the support documentation from Your Webhost (for example, this documentation from GoDaddy) for exact instructions on how to create a new DNS record. Your Webhost's Control Panel is likely to be different from the control panel shown in the screenshots below.

Please determine Your Sendy Installation URL, too. Revisit the Introduction to Installing Sendy and Virtualmin on AWS if need be.


Here are the steps to follow

1) If you have just completed Part 3, you should already be logged in to AWS and the EC2 service.

Otherwise, log in to the AWS console at https://aws.amazon.com/

Make sure Your AWS Region is set correctly:


Select EC2 from the Services menu:


2) Select Elastic IPs from the left-hand menu:


3) Click Allocate new address:


4) Click Allocate:


5) You should now receive an Allocated new address message and your allocated Elastic IP address:


Click Close.

6) Select your new Elastic IP address from the list then click Actions:


7) Select Associate address:


8) You should then be asked to Associate address:


Within Instance, select the server created during Part 2.

9) Then click Associate:


10) An Associate address request succeeded message should appear:


Click Close.

11) Select your new Elastic IP address from the list then click the Name edit icon:


12) Enter a name for your Elastic IP:


For the purposes of this guide, Colcol Test Demo has been used. Something like LIVE Sendy will be fine. Click the tick to save.

13) Select Instances from the left-hand menu:


14) Select the server created during Part 2:


If need be, click the box on the right to show the IPv4 Public IP address. You will now see the IPv4 Public IP address has been set to the Elastic IP address. 

IMPORTANT! 

Make a note of your Elastic IP address as it will be used several times within the rest of the Installing Sendy and Virtualmin on AWS guide. This Elastic IP is now fixed to your server until you manually ‘disassociate’ it, and the Elastic IP will remain the same even when your server is stopped or rebooted.


15) Now log in to Your Webhost’s Control Panel, and add a DNS record to Your Licensed Sendy Domain:


The DNS record should possess the following settings:

Record Name: set to Your Sendy Installation URL (see Notes below)
Record Type: set to A
Content: set to the Elastic IP address created above
TTL: set to 300

Add the DNS record.

Notes:

a) Your Webhost's Control Panel is likely to be different to the control panel shown above. Please refer to the support documentation from Your Webhost (for example, this documentation from GoDaddy) for exact instructions on how to create a new DNS record. 

b) The control panel shown above automatically suffixes the Record Name with a full stop ”.” and the associated domain name. As such, only Your Chosen Subdomain needed to be entered as the Record Name:

Your Webhost's Control Panel may act differently. If the the domain suffix is not added automatically, ensure the Record Name is Your Sendy Installation URL.

b) Using a TTL (time-to-live) setting of 300 should mean your extra DNS record takes only a few minutes to become effective.


16) All done!

Stay logged into AWS and Your Webhost’s Control Panel, and click here to start Part 5. Alternatively, click here to return to the Introduction.

If you have any questions or comments about this page, please let me know so I can keep this website as helpful as possible.

Happy installing!

Maynard Paton

(Want to learn more? Click here to visit the full website index.)


profile-pic

Our Costs Are About $1!

We usually send about 10,000 emails a month for our clients, so our costs are about $1. That is not a typo — that’s a single digit for sending email via Sendy and Amazon SES!

Kevin Muldoon, kevinmuldoon.com , Sendy customer

MailChimp 'Disruptor'. $59 One-Off Fee. Full Refund Available.