Skip to main content

Posts

Integrate AWS CloudFront with S3 bucket

Amazon CloudFront and Other Amazon Web Services:  Amazon CloudFront : CloudFront can be used to deliver your entire website or application, including dynamic, static, streaming, and interactive content, using a global network of edge locations. Amazon CloudFront works well with other Amazon Web Services. You can easily use an Amazon S3 bucket, an Amazon EC2 instance, an Amazon Elastic Load Balancing load balancer, or your own web server as the origin. In this tutorial, we will use Amazon S3 as the origin. Step 1: Prepare Your Content To deliver content to end users with a web distribution, you need to prepare content.  Amazon CloudFront distributes many types of content, including images, videos, HTML pages, .css files, and .php files.  In this step, we will upload sample content to the cloud using Amazon S3. a. The sample image we will use in this tutorial is a PNG image called cloudfront-test-image.png .  Click the b...
Recent posts

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 spee...

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...

AWS - ELB - Detailed Information

Elastic Load Balancing distributes incoming application traffic across multiple EC2 instances, in multiple Availability Zones.  You can configure health checks, which are used to monitor the health of the registered instances so that the load balancer can send requests only to the healthy instances. You can also offload the work of encryption and decryption to your load balancer so that your instances can focus on their main work. You configure your load balancer to accept incoming traffic by specifying one or more listeners . A listener is a process that checks for connection requests. It is configured with a protocol and port number for connections from clients to the load balancer and a protocol and port number for connections from the load balancer to the instances. Elastic Load Balancing supports two types of load balancers: Application Load Balancers and Classic Load Balancers. There is a key difference between the way you configure these load balancers. With a Classic...

Basic Introduction about AWS Services

EC2 Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers. Amazon EC2’s simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment. RDS Amazon Relational Database Service (Amazon RDS) makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while managing time-consuming database administration tasks, freeing you up to focus on your applications and business.  Amazon RDS provides you six familiar database engines to choose from, including Amazon Aurora, PostgreSQL, MySQL, MariaDB, Oracle, and Microsoft SQL Server. S3 Amazon Simple Storage Service (Amazon S3) is object storage with a simple web servi...

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 ...

Find host name of a website in linux

Firstly, ping that website from linux terminal - ping <website name> ping results- you can check latency too here.. latency is displayed in ms. (time=__ ms) here ttl stands for time to leave. ttl -  Time-to-live  ( TTL ) is a value in an Internet Protocol (IP) packet that tells a network router whether or not the packet has been in the network too long and should be discarded icmp is a protocol ... if it will not be enabled then ping will not show complete result.  -------------------------------------------------------------------------------------------------------------- Copy Ip address from there and paste it here to know host name -  ipinfo.io/<IpAddress> that's it....!