Skip to main content

CDN (Content Delivery Network) - AWS CloudFront

Firstly start with CDN -
CDN stands for content delivery network. It is used to deliver different type of data to end users like images,videos,applications and APIs. When you see a dynamic images using adobe flash on website. That's the use of CDN. It just stores the cached copy of contents and delivers it to end users for better speed.

How it works?
A CDN uses a network of servers in geographically dispersed locations(edge locations) to cache copies of content close to end user, lowering latency when thay download or stream the objects.
When a specific page, file, or program is required by a user ,the server dynamically selected to deliver the content is based on closest network proximity or the one with the fewest network hops to the end user.
Content is replicated across edge locations thereby providing redundancy.

 CDN Benefits
Improves customer experiance with faster page loads - bounce rates go down and customers stay on your site longer .
SEO benefits: site speed and load times are important to search engine ranking.
 A study by Google showed that every 1/2 sec of page load time dropped customer traffic by 20%. Google factors in page load times in their quality score.



You can use CDN for dynamic content like News, Weather, Sports, Social media, Advertising, Travel.

It reduces latency. Many cloud service provider companies provides this service like Akamai , AWS CloudFront .

Usage of CDN - Live and On-Demand Video Streaming, Dynamic and Customized Content

 Amazon CloudFront is a global content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to your viewers with low latency and high transfer speeds. CloudFront is integrated with AWS – both physical locations that are directly connected to the AWS global infrastructure, as well as software that works seamlessly with services including AWS Shield for DDoS mitigation, Amazon S3, Elastic Load Balancing or Amazon EC2 as origins for your applications, and AWS Lambda to run custom code close to your viewers. You can get started with CloudFront in minutes, using the same AWS tools you are already familiar with – APIs, AWS Management Console, AWS CloudFormation, CLIs, and SDKs. CloudFront offers a simple, pay-as-you-go pricing model with no upfront fees or required long-term contracts, and support for CloudFront is included in your existing AWS Support subscription.

Comments

Popular posts from this blog

Basic but lesser known Linux Commands

For Debian/Ubuntu- 1.  sudo!!   : Forgot to run a command with sudo? You need not re-write the whole command, just type “sudo!!” and the last command will run with sudo. 2.  Python -m SimpleHTTPServer  : Creates a simple web page for the current working directory over port 8000. 3.  mtr : A  command which is a combination of ‘ping’ and ‘traceroute’ command. 4.  Ctrl+x+e  : This key combination fires up, an editor in the terminal, instantaneously. 5.  nl  : Outputs the content of text file with lines Numbered. 6.  shuf  : Randomly selects line/file/folder from a file/folder. 7.  ss  : Outputs Socket Statistics. 8.  Last : Want to know history of last logged in users? This command comes to rescue here. 9.  curl ifconfig.me  : Shows machine’s external IP Address. 10.  tree  : Prints files and folders in tree like fashion, recursively. 11.  Pstree  : Prints running proces...

Basics about Ansible - an automation tool

What is Ansible...? Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. Designed for multi-tier deployments since day one, Ansible models your IT infrastructure by describing how all of your systems inter-relate, rather than just managing one system at a time. How ansible works?   SSH KEYS ARE YOUR FRIENDS Passwords are supported, but SSH keys with ssh-agent are one of the best ways to use Ansible. Though if you want to use Kerberos, that's good too. Lots of options! Root logins are not required, you can login as any user, and then su or sudo to any user. when Ansible accesses a remote system it checks for the directory /etc/ansible/facts.d Ansible's "authorized_key" module is a great way to use ansible to control what machines can access what hosts. Other options, like kerberos or identity management systems, can also be ...

Target Groups for Your Application Load Balancers - AWS - ELB

You register targets, such as EC2 instances, with a  target group . To route requests to the targets in a target group, specify the target group in a rule for one of the listeners for your load balancer. You define health check settings for your load balancer on a per target group basis. Each target group uses the default health check settings, unless you override them when you create the target group or modify them later on. After you specify a target group in a rule for a listener, the load balancer continually monitors the health of all targets registered with the target group that are in an Availability Zone enabled for the load balancer. The load balancer routes requests to the registered targets that are healthy. By default, a load balancer routes requests to its targets using the protocol and port number that you specified when you created the target group. Alternatively, you can override the port used for routing traffic to a target when you register it with t...