How to Install Sendy on AWS EC2

Install Sendy on AWS EC2 I even have recently labored on Setup of Sendy for one in every of my patron. He wanted to setup Sendy on small EC2 example that could manage bulk e-mail lists upto 50K which can be supplied as a provider. Sendy is a PHP software you install on a server. It presents an interface for the use of Amazon SES. You get reviews, compose tools, bounce handling, and many others.

I’ve been operating on AWS for a long time, so I determined to create an EC2 server with t2.Micro instance to host Sendy. Combining EC2 with SES means significant price savings and a lot greater flexibility. Here’s a brief guide for purchasing Sendy up and strolling on an Amazon EC2 instance. Client desired this example to be to be had on a subdomain like : sendy.Mydomain.Com. When you purchase Sendy you have got to inform them what area Sendy will live at, but it’s smooth to alternate this later.

Install Sendy on AWS EC2

You can continually refer to conventional Sendy Installation Guide. To accomplish this with Route 53, click on the hosted sector in your area within the Route 53 control panel. Then click on Go To Record Sets, then Create Record Set. Create an A record with the name of sendy.Mydomain.Com, then Save Record Set. You’ll come back to this later and enter the Elastic IP for the Sendy example within the Value field.

Now it’s time to get an EC2 instance jogging. Be sure to go through the setup manual before you undergo the principle EC2 guide. Use an Ubuntu picture. You would possibly need to specify some other EBS volume for the Sendy database. Since my instance is dedicated to Sendy I simply kept the whole thing under one extent. Another thing to keep in mind whilst putting in your EC2 instance is popping on termination protection. After going via the Amazon courses you ought to have the ability to hook up with your instance with SSH.

ssh -i key.pem [email protected]

Once connected, update your instance:

sudo apt-get update
sudo apt-get upgrade

Next, as specified in the Ubuntu LAMP docs, install a LAMP server:

sudo tasksel install lamp-server

Connect to the MySQL database using the password supplied during the tasksel install (you can create different user if required):

mysql -u root -p

Create a database for Sendy:

CREATE DATABASE sendy;

You have to have a fundamental LAMP stack walking at this factor. If you go to the public DNS address provided by using the EC2 web console, you ought to see the fundamental Apache success method. Now we’ll installation an Elastic IP, partner it with the example, fix Route 53, and all of the fundamental setup might be entire. In the EC2 internet console, click Elastic IPs (beneath Network & Security). Allocate a new deal with and accomplice it together with your Sendy instance. Then, pass lower back to Route fifty three and put that new IP address inside the Value discipline for the A call file you created for Sendy (sendy.Mydomain.Com). After this you need to be able to see the Apache achievement web page thru sendy.Mydomain.Com.

The next few steps contain getting your stack nicely configured for Sendy. Enable mod_rewrite:

sudo a2enmod rewrite

install curl:

sudo apt-get install php5-curl

Install Sendy on AWS EC2

Modify the Apache2 configuration document to permit the mod_overwrite extension. The latter is required by Sendy. You want to study /etc/apache2/sites-available/000-default.Conf. Since this example is dedicated to Sendy I just made my changes to the default configuration. Put this inside the VirtualHost *:80 in case you are converting the default record like me, or inside the right segment when you have more than one digital host.

 AllowOverride All

and restart Apache:

sudo provider apache2 restart

Get Sendy supply code in /var/www/html using SCP or wget. The medical doctors let you know to edit the config file locally before moving the Sendy directory to the server. I determined it easier to apply wget and S3 to get the authentic zip archive at the sever (use apt-get to put in unzip), and then use vim via ssh to edit the config document.

Now comply with Sendy Installation Guide to complete setup manner. Once this is completed you could upload bulk e mail list csv documents and create e mail templates. You can use those templates to setup campaigns and all e mail service monitoring can be accomplished using Sendy itself.