If this is your first visit, check our documentation. To post, register or login.

AWS hosting?

Started by fpbear on 9 Feb 2022, 2:28 AM · Views: 17,322

Results 1 to 20 of 20
9 Feb 2022, 2:28 AM
#1
fpbear avatar

fpbear

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
1

AWS hosting?

We have ZenCart on an old dedicated server running RedHat, and now looking at AWS as a possibility as a new hosting provider. However I'm new to AWS and confused by all the options. For those using AWS to host ZenCart, which OS do you prefer? How do you configure the software on AWS (via SSH console or some other method?) What are these options such as t2.micro, m3.large, etc.? This cloud hosting world is new and unfamiliar coming from my experience managing a dedicated server.

12 Feb 2022, 12:52 PM
#2
chuckphillips avatar

chuckphillips

Zen Follower

Join Date:
Sep 2012
Location:
Upstate South Carolina
Posts:
107
Plugin Contributions:
1

Re: AWS hosting?

We just started migrating to AWS. I purchased a Lightsail instance with WHM/cPanel installed. It functions just like my old dedicated server. So far, in limited testing, it's just as fast and slightly cheaper.

12 Feb 2022, 2:00 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: AWS hosting?

Great to hear they are offering this bundle. Please keep us posted.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

12 Feb 2022, 3:42 PM
#4
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: AWS hosting?

ChuckPhillips:

We just started migrating to AWS. I purchased a Lightsail instance with WHM/cPanel installed. It functions just like my old dedicated server. So far, in limited testing, it's just as fast and slightly cheaper.

i'm a big fan of linode. it seems their pricing is comparable to AWS lightsail:

https://www.linode.com/pricing/#:~:text=COMPUTE-,shared%20cpu%20plans,-Shared%20Virtual%20Machines

https://aws.amazon.com/lightsail/pricing/

how much extra does the WHM/cPanel run? i have never had a need for those as it's easier for me to just run things from the command line.

i'm also a big fan of using debian for hosting.

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

12 Feb 2022, 4:01 PM
#5
chuckphillips avatar

chuckphillips

Zen Follower

Join Date:
Sep 2012
Location:
Upstate South Carolina
Posts:
107
Plugin Contributions:
1

Re: AWS hosting?

Here is the cPanel pricing. This is in addition to the cost of your hosting:

https://www.cpanel.net/pricing/

14 Feb 2022, 8:36 PM
#6
fpbear avatar

fpbear

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
1

Re: AWS hosting?

Thanks for the tips! I just tried LightSail, and it looks like a good easy to configure solution for most ZenCart sites. I was starting to configure a LightSail instance, but ran into errors and it seemed rather glitchy (it is an AWS interface on top of EC2 to try to make things simpler). But I got tired of the errors in trying to configure everything, so I switched to EC2. So far I like EC2 better, although EC2 has a cryptic and confusing interface to get everything configured. I think the EC2 instance will work out nicely once I get more familiar with it.

15 Feb 2022, 8:20 PM
#7
chuckphillips avatar

chuckphillips

Zen Follower

Join Date:
Sep 2012
Location:
Upstate South Carolina
Posts:
107
Plugin Contributions:
1

Re: AWS hosting?

I got this done. I'm running ZC 1.56c / php 7.4 in a Lightsail instance with WHM/cPanel. So far, I'm pleased with the result. I have my server (LS), backup (S3) and email proxy (SES) all in one console and on one reasonable bill.

There are tutorials out there, but in a nutshell: I bought a Lightsail instance provisioned with WHM/cPanel. Just pick the size instance (1GB -> 32GB), pick your software (WHM, Plesk, LAMP, etc) and agree. Change the root password and assign a free static IP - the instructions are right there. Visit store.cpanel.net and buy and a license for your shiny new IP address. Wait a few minutes for everything to propagate, then browse to your WHM, login as root and go. That's the gist only, consult a real tutorial for details.

The only problem is email - you can't send email directly from your instance. They have that blocked. Some will tell you to submit a support ticket and they will open the ports - but they won't. At least they wouldn't for me. The solution is to use Amazon SES. SES is an email proxy that is free for most users, and is a good idea anyway to prevent your emails from being blocked. You give the email to them, and they send it for you. This is configured in the Exim configuration so nothing to change in your cPanel accounts or email clients. Plenty of tutorials on that.

The only negative, the support tickets are kinda slow. I only had a few but it takes about 24 hours for a response. Even easy stuff like setting your PTR.

15 Feb 2022, 9:17 PM
#8
fpbear avatar

fpbear

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
1

Re: AWS hosting?

ChuckPhillips:

The only problem is email - you can't send email directly from your instance. They have that blocked. Some will tell you to submit a support ticket and they will open the ports - but they won't. At least they wouldn't for me. The solution is to use Amazon SES. SES is an email proxy that is free for most users, and is a good idea anyway to prevent your emails from being blocked. You give the email to them, and they send it for you. This is configured in the Exim configuration so nothing to change in your cPanel accounts or email clients. Plenty of tutorials on that.

Good tip about the email blocking, thanks! I wonder if they also have emailed blocked on EC2 and workaround is the same for EC2?

15 Feb 2022, 10:10 PM
#9
chuckphillips avatar

chuckphillips

Zen Follower

Join Date:
Sep 2012
Location:
Upstate South Carolina
Posts:
107
Plugin Contributions:
1

Re: AWS hosting?

fpbear:

Good tip about the email blocking, thanks! I wonder if they also have emailed blocked on EC2 and workaround is the same for EC2?

My understanding was yes, both are blocked.

The setup for Amazon SES was easy, but they take about a day to verify you. You need their DKIM records in your DNS and a manual review.

15 Feb 2022, 11:13 PM
#10
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: AWS hosting?

Just a warning about the review: they can deny you for any reason at all and won't explain why.

AWS is definitely an option UNLESS you are selling adult products/firearm-related/etc. - probably not a good option for you in that case.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

16 Feb 2022, 8:53 PM
#11
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: AWS hosting?

ChuckPhillips:

Here is the cPanel pricing. This is in addition to the cost of your hosting:

https://www.cpanel.net/pricing/You can get entire hosting with cPanel and much more for less than that price.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

22 Feb 2022, 5:04 AM
#12
fpbear avatar

fpbear

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
1

Re: AWS hosting?

ChuckPhillips:

The only problem is email - you can't send email directly from your instance. They have that blocked. Some will tell you to submit a support ticket and they will open the ports - but they won't. At least they wouldn't for me. The solution is to use Amazon SES. SES is an email proxy that is free for most users, and is a good idea anyway to prevent your emails from being blocked. You give the email to them, and they send it for you. This is configured in the Exim configuration so nothing to change in your cPanel accounts or email clients. Plenty of tutorials on that.

How did you connect SES to the zencart PHP mailer (Sendmail)? I followed the AWS document about integrating SES with Sendmail, and one of the required steps is to submit a support form to open up port 25. However my request was rejected for a not clear use case (I thought ecommerce confirmation emails would be a good use case). Is there a different way to connect SES to zencart?

22 Feb 2022, 5:08 PM
#14
fpbear avatar

fpbear

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
1

Re: AWS hosting?

Figured it out - I was able to get SES to work directly through ZenCart via the ZenCart smtpauth setting (no need for exim or sendmail).

Overall AWS EC2 works very nice for a ZenCart site and the pages load very fast. I'm also using a Global Accelerator and Application Load Balancer. The Global Accelerator provides two static IP addresses. My purpose for the LB is to make it easy to get and automatically renew an SSL cert. Using GA, I was able to register one of the IPs with the domain A record.

It just takes time to navigate through all the AWS menus and learn how to configure everything. I like EC2 better than LightSail because LightSail is glitchy.

22 Feb 2022, 10:30 PM
#15
chuckphillips avatar

chuckphillips

Zen Follower

Join Date:
Sep 2012
Location:
Upstate South Carolina
Posts:
107
Plugin Contributions:
1

Re: AWS hosting?

I'm very pleased with the performance of LightSail. The site is fast and consistently so. We are using the 16GB package.

Amazon SES, maybe not so much. Today a range of SES IP's got blacklisted and a few important emails got blocked. A little Googling and I find forum after forum of the very same problem going back to 2014 with no solutions provided by AWS. Apparently not much you can do - you're just screwed if they use one of the blacklisted IPs to send your email and the recipient happens to filter by that RBL.

I have not see any glitches in LightSail. YMMV.

22 Feb 2022, 10:48 PM
#16
chuckphillips avatar

chuckphillips

Zen Follower

Join Date:
Sep 2012
Location:
Upstate South Carolina
Posts:
107
Plugin Contributions:
1

Re: AWS hosting?

@fpbear, what about emails not sent from ZC?

22 Feb 2022, 11:28 PM
#17
fpbear avatar

fpbear

New Zenner

Join Date:
Jun 2008
Posts:
25
Plugin Contributions:
1

Re: AWS hosting?

ChuckPhillips:

@fpbear, what about emails not sent from ZC?

We are using Rackspace Email hosting for email correspondence (via Outlook or webmail etc.) and now SES for emails originating from ZenCart. We are not using other applications to manage email (no mailing list manager etc.) but if we did, I suppose they could also use an authenticated SMTP protocol to talk to SES. Not sure why AWS has an obsolete document about how to configure SES for Sendmail on port 25 when they don't even support that use.

23 Feb 2022, 12:30 PM
#18
chuckphillips avatar

chuckphillips

Zen Follower

Join Date:
Sep 2012
Location:
Upstate South Carolina
Posts:
107
Plugin Contributions:
1

Re: AWS hosting?

Ours is a simpler setup. I have 11 cPanels on the server, each with some flavor of open source software. Things like support tickets, webmail, dev sites, etc...so integrating SES via Exim makes sense b/c I want all my server's email going through SES not just 1 ZC's. Many of us send customer service emails through Exim using other email clients. That came in handy when...

Yesterday a range of SES IPs were blacklisted by SORBS. Two of my clients filter by that RBL, causing bounces. A few Google searches revealed plenty of forum posts about that very topic going back to at least 2014. I could not find any input from AWS on the subject. I reported the IP's to SORBs but not much else I could do. These were customer service responses being sent to high profile domains, not ZC emails.

So I have switched to Postmark. So far looks pretty good, they charge a little bit, $10/10,000 emails, but at least my responses made it to my clients.

23 Feb 2022, 9:10 PM
#19
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: AWS hosting?

ChuckPhillips:

So I have switched to Postmark. So far looks pretty good, they charge a little bit, $10/10,000 emails, but at least my responses made it to my clients.
You may not be safe yet if your new setup does not include SPF, DKIM, and DMARC. All are items pertaining to email that properly identify you to any ISP. SPF is pretty standard, DKIM is about 50/50 but, DMARC is the one that will prevent your emails from being thrown in a bit bucket somewhere. Often, this happens with neither the sender nor receiver being notified.

Having all three set correctly can also help get you by the RBL checkers that are not current.

You can test by replacing YOUR_SITE in https://mxtoolbox.com/emailhealth/YOUR_SITE/ Sometimes, you will need to fill in the email or domain at mxtoolbox.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

24 Feb 2022, 10:23 AM
#20
chuckphillips avatar

chuckphillips

Zen Follower

Join Date:
Sep 2012
Location:
Upstate South Carolina
Posts:
107
Plugin Contributions:
1

Re: AWS hosting?

100% agree, we have DKIM, SPF, rDNS, DMARC all configured and verified by MX Toolbox.