Latest posts

Change layout
Disaster recovery scenario

Real-Life Disaster Recovery Scenarios

Real-Life Disaster Recovery Scenarios

What would you do if a disaster strikes? Flood, fire, tornado, a devastating ransomware attack. These all are real-life issues, that any business can face.

We have asked Steve Putnam to tell us about the real-life disaster recovery examples, they have in mind, for the possible disaster striking one of their clients. Read on to learn what Steve Putnam shared with us.
Continue reading

Recovery Time Objective (RTO)

Recovery Time Objective (RTO) in Disaster Recovery

Recovery Time Objective (RTO) in Disaster Recovery

The main aspect of every backup and recovery strategy is a balance of RTO and RPO objectives. They regard how quickly and precisely you will be able to get the data back if something goes wrong. In case of disaster, recovery time objective becomes one of the most valuable characteristics in business planning. Continue reading

Backup vs Disaster Recovery

Backup vs Disaster Recovery Explained

Backup vs Disaster Recovery Explained

If you tell someone that your computer crashed, the first question you usually hear in response is: “Did you back up your files?” That’s the right question to ask if you’re talking only about personal data or a single computer. When your PC crashes, having a data backup available is usually all you need to restore your normal routine.
Continue reading

AWS Glacier Lifecycle

Upload to S3 Glacier with Amazon S3 Lifecycle Rules

Upload to S3 Glacier with Amazon S3 Lifecycle Rules

There is a number of storage classes for every need and budget in Amazon Web Services cloud storage. The cheapest method to store the backup for a long time is Amazon Glacier. However, there are two different ways to upload files to that storage: direct and using the AWS Glacier lifecycle policy. In this article, we will demonstrate why the lifecycle policy method is more practical.
Continue reading

default featured image

MSP360 Backup Review by Lawrence Systems

MSP360 Backup Review by Lawrence Systems

Once you watch Lawrence Systems/PC Pickup YouTube channel you will be absolutely in love with these guys. These guys are true enthusiasts of their trade and do an extremely good job at what they do. Lawrence Technology Services with its CEO Thomas Lawrence is helping people find the best IT business solution for their individual needs. Continue reading

default featured image

When to use Amazon Cloudfront or Amazon S3?

When to use Amazon Cloudfront or Amazon S3?

Amazon S3 and Amazon Cloudfront are different in their nature thus can’t replace one another. Amazon S3 is a cloud object storage suitable for hosting static websites and make the objects available for remote access. While Amazon Cloudfront is a content delivery network (CDN), designed to work with Amazon S3 origins to decrease latency and improve user experience by serving content faster and through the encrypted connection.

Despite the technical background, these two services are often confused. The article highlights the benefits of using Amazon Cloudfront in conjunction with Amazon S3 and helps you to decide whether or not you need to distribute the content through the network (and spend more money).

Amazon S3 and Amazon Cloudfront: Working Principles

The best way to think about Amazon S3 is as an unlimited hard drive located in the Internet. When configured for static website hosting, the storage makes hosted content available globally. But it doesn’t mean that website data is located close to the end user. So, to view a file hosted on Amazon S3 in US-East-1 N. Virginia region from London, user experiences a delay in content delivery due to high latency.

Amazon Cloudfront allows to distribute your website across the globe by caching (replicating) the data from Amazon S3 host and then deploy it for viewers using the nearest network server (i.e. edge location). If used in a previous example, the Cloudfront receives user’s request, consults the host server in N.Virginia and sends missing object cache to the nearest edge server in the UK. Next user, who has request the same object, receives the cached copy. This results into significant increase in loading speed of the page and separate objects like PDFs or images.

HTTP, HTTPS (SSL) in Amazon S3 and Amazon Cloudfront

One of the major differences of pure Amazon S3 hosting is utilizing only HTTP protocols. It actually might hurt your website security in a way objects are delivered through unencrypted connection. Although you still can restrict certain users or regions from accessing objects by editing Bucket Policies and Access Control List.

The workaround in this case is to use Cloudfront, because it fully supports SSL certificates and HTTPS access that can be configured by changing cache behavior. Three options are available at this point:

  1. Allow using both HTTP and HTTPS to choose which objects are only accessible via HTTPS
  2. Redirect HTTP requests to HTTPS
  3. Use only HTTPS to access hosted objects

Cloudfront-HTTP-HTTPS-redirect-AWS-console

Amazon Cloudfront: HTTP Live Streaming or RTMP Connection

As mentioned above, user suffers from an increased latency when tries to access the requested content through Amazon S3 from different region. This makes it impossible to stream live video and audio podcasts, which require real time operations with the data.

Cloudfront has two options to provide quality live streaming:

  1. Cloudfront Live Streaming (HTTP)
  2. Adobe Flash Media Server protocol (RTMP)

Both can be used separately or in conjunction, but you need to create a new distribution for each protocol.

Note: If you need to use simple HTTP streaming, choose Web Distribution type. Otherwise when you need to leverage streaming through RTMP protocol, use the RTMP Distribution.

amazon-s3-cloudfront-delivery-method-selection

Using Alternate Domains

As a rule of thumb, Amazon S3 uses only one CNAME for alternative domains thus it’s not suitable for using subdomains for different sections of the website.

By the time I wrote this article, Amazon Cloudfront limits the number of alternate domains to 100 making it the best use for websites with architecture that heavily rely on subdomains.

Amazon S3 and Amazon Cloudfront Pricing

Both solutions are stick to pay-for-what-you-use pricing formula like any other by Amazon Web Services. In case of Amazon S3 hosting, the major item of expenditure is storage based on the current tier you are utilizing. Next thing to consider are Put, Copy, Post, List, Get and other requests that are also billable. For more details on Amazon S3 pricing check out our article.

Amazon Cloudfront charges webmasters for each GB delivered to the end user and it also depends on the amount of data you deliver per region. Receiving HTTP requests is cheaper than HTTPS requests, so think it through before determining protocols. Object invalidation is free up to 1,000 attempts and then result into additional fee. Custom SSL certificate will cost $600 for each domain and dedicated IP also comes for additional payment. AWS also use so-called price classes, which describe desired availability of content in specific edge locations.

For example, if your budget can’t be stretched to allow multiple downloads from Asia-Pacific region edge, you can allow to use Sydney or North America edge to minimize costs. Look at Cloudfront pricing page for more information.

To summarize the article we’ve prepared a few use cases that help you to better understand when you can benefit from Amazon Cloudfront content delivery and the same for using pure Amazon S3 hosting.

Amazon S3

  • Localized audience (country, region, continent)
  • Objects don’t need a secure connection
  • Frequently changed objects

Amazon Cloudfront

  • Low latency on loading service, app or web page
  • Objects that change with mid-frequency
EC2 Instance Types

EC2 Instance Types: Choosing the One That Is Right for You

EC2 Instance Types: Choosing the One That Is Right for You

AWS offers nearly fifty different types of EC2 instances. It also provides a number of different categories of images, each tailored for different use cases.

Choice is a good thing and having so many EC2 instance types and categories is a benefit to users. But with so many possibilities, deciding which EC2 instance is the best fit for your needs can be a challenge. Continue reading

backup vs raid

What is RAID? Is It Any Good as a Backup?

What is RAID? Is It Any Good as a Backup?

Redundant array of independent disks or as it is better known — RAID — is a data storage virtualization technology that conflates multiple physical storage devices into a single logical unit. This setup enhances the integrity and reads & write speeds of the data by employing various data redundancy mechanisms, thereby giving you more certainty as to whether your data is intact at any given moment. Many people naturally wonder if RAID may altogether supersede the good old data backup; however, in this article, we will describe how RAID and backup actually complete each other rather than compete with each other.

Spoiler - no, RAID is not a backup. But it will be of a good help Continue reading