Mail-In-A-Box How To On YouTube

I know a Lightsail instance can be $5 a month.

With it all in one place, I know pricing follows the pizza principle:

The more you get on it, the more it costs.

Can you give us an idea what the total costs are for a basic MiaB server in Lightsail/Route53/S3/Snapshots?



I don’t think that’s actually possible. Because each business is completely different. Depends on how frequent back-ups are. How many domains you have.

It breaks down to this:
5.00 Lightsail Server (as long as you stick within it’s parameters it’s 5.00)
Route53 is included in Lightsail (make sure you do it in Lightsail) Excludng registering your domain and that depends on the TLD you choose.
S3 comes with a free tier. No way to estimate this. This is dependent on each individual user.
Snapshot again is on an individual base. Depends how often you do snapshots and how often you delete them. I don’t use snapshots for anything.

I have a server for WordPress that does a backup of WP and the database every 4 hours (The only reason I do 4 hours is our website has high traffic. When we started it was once a day) to S3. I have a lifecycle policy in place that deletes the back-up every 7 days. I have a lifecycle policy in place that moves one back-up every week to Glacier for a “just-in-case” scenario. Hidden malware, hacked, etc and have to go back to find where it came from.

MIAB that uses the MAIB backup feature to S3.


Asterisk PBX Server. I use the backup feature that comes with PBX In A Flash with the same scenario as WordPress server

And instance that is just a MySQL server.

I just have instances that have all the server software installed and turned off. If something fails. I just turn the old server off. Turn on the new. Run the restore feature. And I’m back online.

My bill last month was 46.36 however, my WordPress server is 20.00 a month server because we use Matomo for analytics, YOURLS instead of, and our CRM is built into WordPress and needs more power.

For Algo I use the 3.50 server. That’s all that is really needed for Algo.

Sorry I couldn’t be more helpful.

Good luck :slight_smile:

Do I have created an instance in Lightsail and used the console icon to login to it.

Haven’t installed MiaB yet.

I see you have to use sudo, so the question is what’s the name of the user I am logged in as?

I should be able to SSH into it from my Mac like I do with other Linux boxes. Did Lightsail assign me a user name? I may have missed that in your writeup.



If you have AWS CLI tool installed on your computer you can spin one up that way. But, as in the video I just use the GUI to create an instance.

To SSH into your instance the default username is “ubuntu”
ssh -i yourcert ubuntu@ipaddress

I create an ssh cert file for each instance and upload it when I create a new instance. That’s where -i comes into play. Or you can just use the SSH console window for the instance in your browser too if you choose default.

Thanks for the quick reply.

I did

sudo apt-get update

sudo apt-get upgrade

Some packages were held back.

Installing MiaB now.

I have tried to follow your PDF.

I have created and deleted several instances.

The problem I am having is getting my domain name that was bought in Route 53 hooked to the instance. Added static-ip to the instance. Created a DNS zone and tied to static-ip. Added an A record in the zone pointing to my domain name.

How long should it take for the domain to use by MiaB? When installing MiaB I keep getting can’t resolve

I would think once the domain name purchase from the registrar is complete, things in AWS would go quickly.

Not sure what I am doing wrong.


Not to mince terms here but it is important … the A record is pointing to the subdomain, right? box (

Here is the procedure if you are going to use Lightsail DNS record

  1. Purchase a domain in Route 53
  2. Create a DNS record in Lightsail under the MAIN network section.
  3. Change the NameServers in Route 53 to reflect those in Lightsail. (they can be found at the very bottom of the DNS Record in LightSail.
    Wait a few hours to about a day.

Or, if you are going to use Route 53. Which will cost you $0.50 a month where Lightsail gives you three free DNS records a month.

Create an instance in Light Sail
Assign a static IP address
Purchase a Domain in Route 53
Create a DNS zone
Create an A record with subdomain “box” pointed it at the Lightsail instance

Wait for about thirty minutes. Ping the instance to see if it’s connecting :slight_smile:
Hope that helps

Thanks. I was wondering about the difference and you explained it.

Don’t need to pay the extra $0.50. I sound like a tight wad. Grin


I guess there is no point in installing MiaB in the instance until you can ping the domain from another computer, even though you can ping the static-ip.


David thanks for your patience.

I see the four name servers in Lightsail, but I don’t see where/how to put them in Route 53.



The best way to describe it is how I already did. I’m sorry. I show how to do it in the video. It will show you how to change the Nameservers. Just head to the Route53 section :slight_smile:
Good luck

Honestly, the video is 1hr43min in length.

Might I suggest that you index your guide to the time in the video? I think that would help some people out such as Dennis.

It is about 17 minutes into the video.

Got things changed. Waiting for things to propagate through.

For some reason I can’t ping the static IP address. I can talk to the machine via the Lightsail web interface.


At the moment I’m in the middle of a huge project for a client. When I find some time I’ll be cutting those video’s up and adding segments to the Knowledgebase of BitsVital. But, it’s definitely not my first concern. I have a few other videos on the plate to make first. :confused:

Check the firewall on your Lightsail instance.

@pupsncats Thank you for all your help. Everything is working or will be. I have killed my instance and started over several times. (Developing muscle memory! Grin)
That last time I started over, I forgot to open all the ports, so I could not ping the instance.
The only issue now is reverse DNS. It has been fixed but is slow propagating thru all the systems. Got the OK email back from AWS.
The Status Check page complains about DNSSEC but I guess that is not a problem in the Lightsail environment since it is all in AWS.

Thanks again.

Now to migrate my other domain names over to AWS.


No problem. Ignore DNSSEC. Route53 doesn’t support DNSEC.
Glad I could help! :slight_smile:

@pupsncats Does your Status Page show Reverse DNS is set correctly?

I filled out the form to request it be set and after a day or so got an email reply saying it had been set as requested. It has been a week and it still points to the ec2 cluster on the status page.

I checked with and get the same.


Did you apply to have the port 25 email sending limitations removed? That’s when AWS support set’s up your reverse DNS. They do both at the same time. It’s a security feature to prevent spamming.