23
January
2017

FileMaker Server on Amazon Web Services: Elastic IPs

Utilizing An Elastic IP Address To Access Your FileMaker Server

FileMaker Server on Amazon Web Services: Elastic IPs

Continuing our series of FileMaker Server (FMS) on Amazon Web Services (AWS), this installment looks at Elastic IPs, what they are and why you might want one. If you're not familiar with AWS and setting up FMS on an Instance, check out our other blog posts FileMaker Server on Amazon Web Services: Part 1 and FileMaker Server on Amazon Web Services: Part 2 before delving into this one.

So, let’s check out Elastic IPs… 

Terminology & Assumptions


Let's start by ensuring we're on the same page as regards some terminology and assumptions.

  • We have our AWS account set up - this is our account that gives us access to the vast world of Amazon Web Services.
  • We have launched an EC2 Instance - most likely a Windows 2012 Server running FileMaker Server 14 or 15.
  • We have an AWS security group set up with the necessary ports open, and the Windows firewall is correctly configured to allow traffic to our FileMaker data files.
  • When deploying the EC2 Instance, it would have been assigned a public IP address. This allows you to use FileMaker Pro to find the server and access your data files from your office.
  • This public IP address is displayed in your Instances list in the AWS dashboard environment, as well as in the top right when you remote desktop into your server.

 

What Happens If The Public IP Address Changes?


Most servers on the internet have an IP address in the form x.x.x.x - where 'x' can be a one, two or three digit number. That's what your public IP address assigned to your Instance is. Your server can be reached at this number. Now, you can assign a domain or subdomain to this IP address to make it more memorable, but in the end it is the IP address that is used to route traffic to your server.

If everything stays the same, your IP address will not change and all may seem fine - you can access your server via that address. But what happens if that IP address changes? Wait, the IP address can change? Oh yes, sometimes through actions you may take and at other times events that are out of your control. Some examples of when your public IP address will be released and put back into the public IP pool for another customer to take are:

  • Shutting down the server, even for a short period of time. (Note: a reboot is not a shutdown.)
  • Changing your Instance Type - perhaps adding more resources or moving to a lower spec server to save money.
  • Amazon decommissioning the hardware your server is running on.

There may be more, but as you can see, there are perfectly normal day-to-day activities that could result in your public IP address changing. And this could be devastating to your operations if suddenly people can't access the database files they rely on.

 

Elastic IP To The Rescue...


So this is where an Elastic IP address comes in. Think of an Elastic IP address as a static IP address that pretty much belongs to you for as long as you keep it active.

The way it works is that you request an Elastic IP address and then assign this IP address to your Instance. At that point, the public IP address you were initially assigned gets put back into the pool of public IP addresses and the server is now accessible via your Elastic IP address.

So now, if you stop your Instance and then restart it a few minutes/hours/days later, because the Elastic IP is assigned to that Instance, it will be accessible on the same IP address as it was before you shut it down.

As you begin to use AWS more and more, Elastic IPs start to show other uses, too. Let's say you've been using FMS14 for a while but want to move to FMS15.

One way to accomplish this would be to block user access to your current server, uninstall 14, install 15, hope everything works out ok and a few hours later (hopefully) you can let users back on to the server.

Or, you could spin up a second new server, install FMS15, test everything is working fine using the public IP address it was initially assigned, and then once you're ready switch the Elastic IP to the new Instance resulting in almost no downtime for users. Their traffic will be routed to the new server running FMS15, and you'll look like a hero.

 

Assigning An Elastic IP Address


Assigning an Elastic IP address to an Instance is pretty straightforward:

  • Navigate to the EC2 Dashboard. 
  • In the left vertical menu under the Network & Security section, select Elastic IPs.

 

  • Click the "Allocate new address" button.

  • Click the "Allocate" button.

  • At this point you have been allocated an Elastic IP address.

But you now need to assign it to your Instance.

  • Return to the main Elastic IP screen - you should see the IP you were just allocated in the list.
  • Ensure the check box on the left is filled in blue.
  • From the Actions menu at the top of the screen, select "Associate Address".

  • In the Resource Type, choose Instance.
  • Under the Instance section, use the drop down to select the Instance this IP should be associated with.
  • Select the Private IP - there will likely only be one to choose from.
  • Decide if you want to be able to reassociate this IP address in the future.
  • Click the blue Associate button.

And, that's it! Your server is now accessible using this Elastic IP. The original IP address assigned when you created the Instance has been released for someone else to use.

It is worth pointing out that one Elastic IP associated with an Instance is free of charge, as long as the Instance is running. There may be some costs (albeit minimal) if your Instance is not running or you have multiple Elastic IPs associated with it. Do consult the documentation and pricing before deploying to ensure you know where you stand on this front.

 

Summary


As we've demonstrated, obtaining and assigning an Elastic IP address is pretty straightforward and provides for continuity and reliability for access to your FileMaker Server. We would even go as far as saying it's a must for deploying on AWS.

Of course, it wouldn't be AWS if there wasn't a bunch more to know about Elastic IPs, and you can find plenty more info here: Amazon Web Services: Elastic IP Addresses.

We hope this has been a good introduction to Elastic IPs on AWS, and how they can help your deployment in the cloud. If you need any help with any of this, don't hesitate to contact us.

  • Tags: FileMaker

Categories: The FMP Files

Leave a comment

You are commenting as guest. Optional login below.

Client Testimonials

  • Sounds Essential is a trusted partner on several demanding and highly complex development projects. Their technical skills, creativity, and most importantly, their grasp of our business needs has helped our company deliver sophisticated solutions to our (very happy) clients. Even when projects reach the "intense" stage, we really enjoy working with Sounds Essential.

    Pam Henry, Managing Partner
    Digital Spark LLC
  • Sounds Essential worked with our staff last year to create the first digital plant database in our organization’s history. This milestone not only benefits the day to day work flow of our organization, it creates the opportunity for us to share our data with others worldwide. Due to our niche high elevation ecosystems, we can share valuable insight about native plant communities and how they are adapting to climate change. Without the help from SE and funding from Stanley Smith Horticultural Trust this project would still be in conception. Working with SE made the development and implementation a pleasure for us gardeners.

    Kelly Holdbrooks, Exec. Director
    Southern Highlands Reserve
  • Sounds Essential is the best! Our company website and database are essential parts of our business. The website and database give us the professional look of who we are while also making our work flow so much easier! We highly recommend Sounds Essential.

    Charles Dwan, Owner
    Chefs Trading
  • Sounds Essential's team is the perfect combination of creativity, aesthetic vision, and technical expertise which enables them to provide innovative products. They are always responsive with questions, issues, and technical support and as the technology changes they adapt accordingly. We highly recommend Sounds Essential and they are indeed ‘essential’ to our business model.

    Wesley Wofford, Owner
    Wofford Sculpture Studio
  • Sounds Essential was a pleasure to work with from start to finish. With their guidance, we were able to update our website quickly and present a more polished and modern interface for our church. The documentation provided was clear and easy to follow, and they have been quick to respond to any questions.

    Kirsten Huscusson, Parish Administrator
    Church of the Incarnation
  • Between their exceptional level of service and versatility of skill, Sounds Essential is my first stop for anything from IT to creative... and they're my favorite partner, hands down.

    Leah G. Fallon, Owner
    Eleven Eleven Creative

Get the Latest

We occasionally send out news of general interest in our fields of specialty. If you'd like to stay up to date, please sign up according to your interests below.
Please wait