Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
16 votes

How can I tell how big my Amazon RDS database (MySQL) is?

Here are more organized queries against the INFORMATION_SCHEMA Sizes By Storage Engine SELECT IFNULL(B.engine, 'Total') "Storage Engine", CONCAT(LPAD(REPLACE(FORMAT(B.DSize / POWER(1024, pw),...
user avatar
10 votes

How to optimize the load time of initial connection and SSL handshake phase of a web page on a 3G network?

Initial Connection You will find that the initial connection includes negotiating the SSL, so since the handshake is high, its a good indicator that something is seriously wrong with the way you have ...
user avatar
  • 32.6k
10 votes
Accepted

10 megabyte gzip limit in AWS Cloudfront?

This is a design limitation: The file size must be between 1,000 and 10,000,000 bytes. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html ...
user avatar
8 votes
Accepted

How can I tell how big my Amazon RDS database (MySQL) is?

I finally found the easy way to get this information directly from Amazon with a couple of clicks. Log into the RDS management dashboard Click on "DB Instances" Click on the instance in which you are ...
user avatar
8 votes

How to optimize the load time of initial connection and SSL handshake phase of a web page on a 3G network?

Reading the title of your question, there are two things you can do to speed up the initial connection and SSL/TLS handshake. These work for any connection, not just 3G, so you should use these as ...
user avatar
  • 2,241
6 votes

Can I transfer a domain out of Route 53 (AWS) where it was purchased?

Yes, you can completely divorce yourself from AWS. I am unclear where you read that a domain name "always belongs to the original registrar where you bought your domain." - This is largely ...
user avatar
  • 5,825
5 votes
Accepted

HTTP2 is enabled and working, but PHP $_SERVER['SERVER_PROTOCOL'] still says "HTTP/1.1"

This has to do with how Cloudflare connects to servers. Although it does serve the client via HTTP2 (or HTTP3), it still connects to the server itself via HTTP1.1. Cloudflare only uses HTTP/1.x ...
user avatar
5 votes
Accepted

Can I transfer a domain out of Route 53 (AWS) where it was purchased?

AWS Route 53 is a domain registrar[1], a company that is hooked into the greater domain name system and has a license to sell domain names to their customers and hold them in the customer's name. To ...
user avatar
4 votes

Is it possible to show AWS CloudWatch metrics graphs on your own dashboard webpage?

As a basic start, try checking out Google app engine for hosting this project. Check out the basics of Boto. Then look at using Boto to access cloudwatch data. Build a client that outputs the data ...
user avatar
  • 590
4 votes

Is it better to have AWS EC2 and RDS is the same Availability Zone?

You should have your website and your database in the same availability zone. It should be faster You are less exposed to the risk of an availability zone going down. When you spread your web ...
user avatar
4 votes
Accepted

Does Amazon's RDS Multi-AZ deployment cost twice as much as the normal cost of a single instance?

Amazon's RDS pricing page has two sections. One for Single-AZ Deployment and one for Multi-AZ Deployment. Yes, Multi-AZ is about twice the price of Single-AZ. For example I see: db.t2.micro ...
user avatar
4 votes
Accepted

PHP doesn't work on Amazon AWS S3 for email contact form

S3 web site hosting is strictly for static content. Nothing stored in S3 is executable by S3, such as PHP scripts. This is by design, and not a configuration issue with your site. You can host a ...
user avatar
4 votes
Accepted

IllegalLocationConstraintException on CloudFront (with S3)

My issue was because my CloudFront origin was not in us-east, and when you auto-select your bucket's origin in CloudFront, it doesn't add the location prefix to the url. So make sure you add your s3 ...
user avatar
  • 171
4 votes

How can I mask an AWS site with a domain registered with godaddy?

As best I've ever been able to tell thus "url/domain masking" is a made-up term used by a few web providers - They are nothing more then frames or iframes. From a technical POV there is no ...
user avatar
  • 5,825
3 votes
Accepted

Configuring an MX record for Amazon's Route 53

I'm afraid I couldn't help you with the complications of setting up a Postfix mailserver, however with regards to your questions about the DNS records: The MX record you have created looks fine, ...
user avatar
3 votes
Accepted

Issues with a Client involving AWS CloudFront and Static IPs

I guess, the better, more scalable approach is to find out what system your client is using, and educate that network engineer. But if you really need a static IP to serve for Cloudfront content for ...
user avatar
  • 146
3 votes

How to add the ‘www’ prefix to my domain

From What are the most commonly used and basic Apache htaccess redirects? contributed by bybe: Catch all and redirect non-www to www You should opt to use mod_write for redirecting all requests for ...
user avatar
3 votes

Do I need two different site profiles in Google Webmasters Tools for www and non-www?

In the case where you have both www and non-www verions of the site readily available (i.e, you are not using 301 redirects from www to non-www or vice versa), yes, both profiles should be created in ...
user avatar
3 votes
Accepted

What are the benefits of requiring HTTPS between AWS CloudFront and the origin server?

If an attacker is able to put themselves between your origin server and CloudFront edge location - it won't be so difficult for the attacker to capture your HTTP traffic and extract your information. ...
user avatar
3 votes
Accepted

AWS Elastic Beanstalk - Wordpress keeps resetting plugins and themes

Amazon has instructions for deploying WordPress on Elastic Beanstalk. The part that will prevent your problem is the section "Enable WordPress to Store Assets in Amazon S3". You have to install ...
user avatar
3 votes
Accepted

Cannot forward root domain managed by Google Domains to AWS Load Balancer

This is a limitation in the fundamental design of DNS itself. Adding a CNAME at the apex of a domain is essentially invalid because it leads to an illogical set of consequences. This is why Route 53 ...
user avatar
3 votes
Accepted

Apache not working on AWS Linux after reboot - 301 Response code

I figured out the issue. When an AWS instance is rebooted, the DNS address changes. As I am using Wordpress, I need to update the siteurl and home url in the MySQL Database for the wordpress site to ...
user avatar
3 votes
Accepted

Route 53 on AWS, Whats stopping me from using someone elses domain?

I was in the position to try this. I have two AWS accounts: one for personal use and one for work. My work account has several domains using Route 53, including some typo redirects that nobody is ...
user avatar
3 votes

Understanding of complete stack

What you are missing is that the components of the stack are somewhat abstract concepts, so the delineations are not necessarily clean, on the server side. Web servers typically sit in front of ...
user avatar
3 votes
Accepted

Why am I getting bot hits from compute-1.amazonaws.com?

These look to me like bots/crawlers running on EC2 instances, rather than anything to do with Cloudfront. AWS publish a list of IP ranges used by Cloudfront here : https://docs.aws.amazon.com/...
user avatar
3 votes

Pointing Namecheap domain to AWS S3 static website with HSTS .dev TLD

The website started working but I completely changed my approach. I ignored the problem that I can't connect through the domain name using HTTP. Decided to just start setting up HTTPS for the site ...
user avatar
3 votes

How can I mask an AWS site with a domain registered with godaddy?

Domain "masking" typically involves loading a website from another domain within an iframe (and if I remember correctly, this is how GoDaddy's masking feature works). But if the target ...
user avatar
2 votes
Accepted

Is it possible to show AWS CloudWatch metrics graphs on your own dashboard webpage?

This post describes the exact steps (official AWS documentation) to do this: https://aws.amazon.com/blogs/devops/building-an-amazon-cloudwatch-dashboard-outside-of-the-aws-management-console/ You'll ...
user avatar
2 votes
Accepted

Making HTML5 videos stored on AWS S3 **difficult** to download (because I cant make it impossible)

I think using it with Lightbox makes chance of download hard. You can read this article: How to create a Video Membership Site with Complete Protection to Your Videos and after the content I found ...
user avatar
2 votes

How can I tell how big my Amazon RDS database (MySQL) is?

show table status from mydatabsename; where mydatabasename is your database name. This shows you the metrics Data_length and Index_length per table and other metrics. You would have to total these ...
user avatar
  • 32.5k

Only top scored, non community-wiki answers of a minimum length are eligible