Skip to main content

CloudFront CDN

Amazon CloudFront is a content delivery network (CDN) that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, and no commitments.

Here are some key terms related to CloudFront:

• Distribution: A distribution is the combination of a CDN with a specific origin or group of origins, and a set of behaviors that you can configure to determine how CloudFront serves your content.

• Origin: An origin is the source of your content. It can be an Amazon S3 bucket, an EC2 instance, an Elastic Load Balancer, or an HTTP server, among other things.

• Edge location: An edge location is a location where content is cached. CloudFront serves your content from an edge location rather than the origin, which can reduce latency and improve performance.

• Web distribution: A web distribution is a distribution that is optimized for delivery of static and dynamic content, such as HTML, CSS, JavaScript, and images.

• RTMP distribution: An RTMP (Real-Time Messaging Protocol) distribution is a distribution that is optimized for delivery of streaming media, such as video and audio.

To create a CloudFront distribution, you can use the AWS Management Console, the AWS CLI, or the CloudFront API. Here's a high-level overview of the process:

1. Sign in to the AWS Management Console and open the CloudFront console.

2. Choose Create Distribution.

3. On the Create Distribution page, choose Get Started for the type of distribution that you want to create.

4. On the Select a delivery method for your content page, choose the delivery method for your content: Web or RTMP.

5. Follow the prompts to specify the details of your distribution, such as the origin and behaviors.

6. Review your distribution settings and choose Create Distribution.

It can take some time for the distribution to be fully deployed and for the status to change to Deployed. Once the distribution is deployed, you can use the distribution's domain name to serve content through the CDN.

I hope this helps! Let me know if you have any questions.

Comments

Popular posts from this blog

Prompt Engineering Fundamentals

  Introduction Generative AI is a transformative technology capable of producing text, images, audio, and code in response to user prompts. This capability is powered by Large Language Models (LLMs) like OpenAI's GPT series, which are trained to understand and generate natural language. Interacting with these models via prompts allows users to harness their potential without needing technical expertise. This chapter explores the essentials of prompt engineering, a field dedicated to optimizing prompt design for consistent and high-quality responses. Learning Goals By the end of this lesson, you will be able to: Explain what prompt engineering is and why it matters. Describe the components of a prompt and how they are used. Learn best practices and techniques for prompt engineering. Apply learned techniques to real examples using an OpenAI endpoint. Learning Sandbox Prompt engineering is more art than science, requiring practice and iterative refinement. This lesson includes a Jupyt...

AWS Cloud Containers

Amazon Web Services (AWS) offers a variety of services for deploying and managing applications in the cloud. One of these services is called Amazon Elastic Container Service (ECS), which allows you to run and manage Docker containers on AWS. Here is a brief overview of how Amazon ECS works: You package your application into a Docker container image and push it to a registry, such as Amazon Elastic Container Registry (ECR) or Docker Hub. You create an Amazon ECS task definition, which is a blueprint for your containerized application. The task definition specifies things like the Docker image to use, the CPU and memory requirements, and the environment variables to pass to the container. You create an Amazon ECS cluster, which is a group of Amazon EC2 instances that are running the Amazon ECS container agent. The cluster is where your tasks are placed and run. You create an Amazon ECS service, which is a long-running task that is hosted on your cluster. The service ensures that a speci...

Identified COVID-19 in X-ray images with deep learning.

  Project structure :       Our coronavirus (COVID-19) chest X-ray data is in the dataset/ directory where our two classes of data are separated into covid/ and normal/   I have created train_covid19.py file to train the model.   Three command line arguments (parameters) required to run this file :   --dataset: The path to our input dataset of chest X-ray images. --plot: An optional path to an output training history plot. By default the plot is named plot.png unless otherwise specified via the command line. --model: The optional path to our output COVID-19 model; by default it will be named covid19.model.     To load our data, we grab all paths to images in in the --dataset directory. Then, for each imagePath, we:   ·           Extract the class label (either covid or normal) from the path. ·           Load the image, and preprocess it by convertin...