You are on page 1of 5

Welcome back, Blaine here.

 
We're talking about Elastic Block Storage, or EBS. 
We've already had a chance to look at the difference 
between object store and block storage. 
EBS provides the most common block storage you will use at AWS. 
When you launch your EC2 instance, 
you're going to need some kind of block storage to go with it. 
It's part of the boot volume or maybe it's a separate data volume. 
And AWS has racks of unused storage that you can 
provision to sizes as large as you need up to many terabytes in size. 
When you launch the EC2 instance, 
the boot volume can attach directly to your EC2 instance, as well as the data volume. 
These volumes live independent of the EC2 instance themselves. 
In fact, they may already exist before your EC2 instance launches. 
When it launches, it simply finds the volume and attaches it 
the same way you might have an old drive from a laptop. 
That when you get a brand new laptop, 
you attach, and you've got the same old data. 
This EC2 instance, when it connects to 
the EBS volumes, now has a direct communication to these volumes. 
Nobody else can talk directly to them. 
It's how we maintain secure communications at all times. 
The EBS volumes have a lifecycle independent of EC2. What does this mean? 
Let's say that this EC2 instance is part of a developer machine that over the weekend, 
nobody is using because your developers go home over the weekend. 
So, during those 48 hours, 72 hours, 
there's no reason to be paying for EC2 because nobody is using it. 
All you have to do is simply stop the instance. 
When you stop EC2, 
the EBS volumes survive. 
They just simply are no longer connected to the EC2 instance. 
Then, Monday morning comes around, 
your developer starts up an EC2 instance, 
and a brand new instance is created. 
It reattaches those same EBS volumes 
the same way you would simply shut down 
your laptop over the weekend and start it again on Monday. 
But over the weekend, 
you didn't have to pay for EC2. 
But there's more we can take advantage of the idea that EBS 
lives outside of EC2 because what if I want a more powerful machine? 
Just like I could take your hard drives out of 
your existing laptop and put it in a stronger laptop, at AWS, 
you can simply provision a newer, bigger EC2 instance, 
stop the old EC2 instance, 
and then just attach the volumes to your brand new EC2. 
So, now, I've got the same boot volume, the same applications, 
the same data only running newer, bigger, stronger. 
It's one of the many advantages EBS brings to you as part of AWS.
Bienvenido de nuevo, Blaine aquí.

Estamos hablando de Elastic Block Storage o EBS.


Ya hemos tenido la oportunidad de ver la diferencia

entre el almacén de objetos y el almacenamiento en bloque.

EBS proporciona el almacenamiento en bloque más común que utilizará en AWS.

Cuando lanza su instancia EC2,

vas a necesitar algún tipo de almacenamiento en bloque para acompañarlo.

Es parte del volumen de arranque o tal vez sea un volumen de datos separado.

Y AWS tiene racks de almacenamiento no utilizado que puede

aprovisionar para tamaños tan grandes como necesite hasta muchos terabytes de tamaño.

Cuando lanza la instancia EC2,

el volumen de arranque puede conectarse directamente a su instancia EC2, así como el volumen
de datos.

Estos volúmenes viven independientemente de la propia instancia EC2.

De hecho, es posible que ya existan antes del lanzamiento de su instancia EC2.

Cuando se inicia, simplemente encuentra el volumen y lo adjunta

de la misma manera que podría tener una unidad vieja de una computadora portátil.

Que cuando obtienes una computadora portátil nueva,

adjunta, y tiene los mismos datos antiguos.

Esta instancia EC2, cuando se conecta a

los volúmenes de EBS, ahora tiene una comunicación directa con estos volúmenes.

Nadie más puede hablar con ellos directamente.

Así es como mantenemos comunicaciones seguras en todo momento.

Los volúmenes de EBS tienen un ciclo de vida independiente de EC2. ¿Qué significa esto?

Digamos que esta instancia EC2 es parte de una máquina de desarrollo que durante el fin de
semana,

nadie está usando porque sus desarrolladores se van a casa durante el fin de semana.

Entonces, durante esas 48 horas, 72 horas,

no hay razón para pagar por EC2 porque nadie lo está usando.

Todo lo que tienes que hacer es detener la instancia.

Cuando detiene EC2,

los volúmenes de EBS sobreviven.


Simplemente, ya no están conectados a la instancia EC2.

Luego, llega el lunes por la mañana,

su desarrollador inicia una instancia EC2,

y se crea una nueva instancia.

Vuelve a adjuntar esos mismos volúmenes de EBS

de la misma manera que simplemente cerrarías

su computadora portátil durante el fin de semana y vuelva a encenderla el lunes.

Pero durante el fin de semana

no tuvo que pagar por EC2.

Pero hay más cosas que podemos aprovechar de la idea de que EBS

vive fuera de EC2 porque ¿y si quiero una máquina más potente?

Al igual que podría sacar tus discos duros de

su computadora portátil existente y colóquela en una computadora portátil más fuerte, en AWS,

simplemente puede aprovisionar una instancia EC2 más nueva y más grande,

detener la antigua instancia EC2,

y luego simplemente adjunte los volúmenes a su nuevo EC2.

Entonces, ahora, tengo el mismo volumen de arranque, las mismas aplicaciones,

los mismos datos solo se ejecutan más nuevos, más grandes y más fuertes.

Es una de las muchas ventajas que le ofrece EBS como parte de AWS.

S3

Hey everyone, Morgan here. We're just got done talking about the different storage solutions that
Amazon has to offer. We're going to talk about one in particular now: Amazon Simple Storage
Service. Amazon Simple Storage Service, or S3, is a highly scalable and durable object storage
solution, for storing and retrieving any amount of data. S3 is a simple and cost-effective way to
store and retrieve your data at anytime, from anywhere on the web. S3 is a very popular service
that is used for scenarios such as basic object storage like images or text files, storage of backups,
application file hosting, media hosting, and many other use cases. It can be used to store virtually
any type of document or object at a large scale, as S3 has an unlimited capacity for your storage
needs. Your storage needs are going to grow and change over time, and S3 is built for durability
and scalability. S3 offers 99.99% availability with 11 nines of durability. With that level of
durability, you can feel confident that S3 is not going to lose your files. We store three copies of
your data redundantly across AWS facilities within the Region that you selected. With this level of
durability, S3 is often used as a place to comfortably store backups. This includes backups for
components like your databases or your EBS snapshots. To get started with S3, there's a few key
concepts that you need to understand, the first concept being that objects are stored in what we
call buckets. Buckets are repositories for objects that live in a specific Region. Even though S3 is
specific to one Region, bucket names need to be globally unique across all AWS accounts and must
be DNS-compliant. The reason for this is that your objects are accessible over HTTP or HTTPS. So
when you create a bucket, we provide you with a URL to that bucket. Let's say you create a bucket
called mybucket, we would give you an endpoint, something like HTTP, your bucket name, which is
mybucket.S3.amazonaws.com.

Reproduce el video desde :2:7 y sigue la transcripción2:07

Once you have your bucket, you can then start to upload objects into that bucket. Those objects
are then also accessible over HTTP or HTTPS. Let's say we have an image. This image is called
picture.jpg. Now that we have an object, we can store it in our S3 bucket. Once our object is
stored in the bucket, we will get a URL for that object. You'll notice that the beginning part of the
URL is your bucket name, and the end part is going to be your key, or your object name. By
accessing this link, you can access the object in your bucket. Don't worry too much when we say
that your objects are accessible over HTTP. S3 provides secure object storage that you control. By
default, when you upload an object into a bucket, it is private. That means if you want to share the
URL to the object with another person or application, you need to configure the permissions on
that object to allow access. You can control bucket and object access through access control lists,
and bucket policies. You can further secure access to S3 by enforcing HTTPS-only connections. You
can write, read, and delete objects containing information from 1 byte to 5 terabytes of
information per object. Though the size of each object uploaded is limited to 5 terabytes, the
overall size limit of the bucket is not limited, which allows for uncapped storage growth. You can
store just about anything in S3. It's simple, flexible, cost-effective, and easy to set up. Let's hop
into a demo and take a look at how to use S3.

Hola a todos, aquí Morgan. Acabamos de terminar de hablar sobre las diferentes soluciones de
almacenamiento que Amazon tiene para ofrecer. Vamos a hablar ahora de uno en particular:
Amazon Simple Storage Service. Amazon Simple Storage Service, o S3, es una solución de
almacenamiento de objetos duradera y altamente escalable, para almacenar y recuperar cualquier
cantidad de datos. S3 es una forma sencilla y rentable de almacenar y recuperar sus datos en
cualquier momento y desde cualquier lugar de la web. S3 es un servicio muy popular que se utiliza
para escenarios como el almacenamiento de objetos básicos como imágenes o archivos de texto,
almacenamiento de copias de seguridad, alojamiento de archivos de aplicaciones, alojamiento de
medios y muchos otros casos de uso. Se puede utilizar para almacenar prácticamente cualquier
tipo de documento u objeto a gran escala, ya que S3 tiene una capacidad ilimitada para sus
necesidades de almacenamiento. Sus necesidades de almacenamiento crecerán y cambiarán con
el tiempo, y S3 está diseñado para brindar durabilidad y escalabilidad. S3 ofrece una disponibilidad
del 99,99% con 11 nueves de durabilidad. Con ese nivel de durabilidad, puede estar seguro de que
S3 no perderá sus archivos. Almacenamos tres copias de sus datos de forma redundante en las
instalaciones de AWS dentro de la región que seleccionó. Con este nivel de durabilidad, S3 se usa a
menudo como un lugar para almacenar cómodamente copias de seguridad. Esto incluye copias de
seguridad de componentes como sus bases de datos o sus instantáneas de EBS. Para comenzar
con S3, hay algunos conceptos clave que debe comprender, el primer concepto es que los objetos
se almacenan en lo que llamamos depósitos. Los depósitos son repositorios de objetos que viven
en una región específica. Aunque S3 es específico de una región, los nombres de depósito deben
ser únicos a nivel mundial en todas las cuentas de AWS y deben ser compatibles con DNS. La razón
de esto es que sus objetos son accesibles a través de HTTP o HTTPS. Entonces, cuando crea un
depósito, le proporcionamos una URL a ese depósito. Digamos que crea un depósito llamado
mybucket, le daremos un punto final, algo como HTTP, el nombre de su depósito, que es
mybucket.S3.amazonaws.com.

Reproduce el video desde: 2: 7 y sigue la transcripción2: 07

Una vez que tenga su depósito, puede comenzar a cargar objetos en ese depósito. Estos objetos
también son accesibles a través de HTTP o HTTPS. Digamos que tenemos una imagen. Esta imagen
se llama picture.jpg. Ahora que tenemos un objeto, podemos almacenarlo en nuestro bucket de
S3. Una vez que nuestro objeto esté almacenado en el depósito, obtendremos una URL para ese
objeto. Notará que la parte inicial de la URL es el nombre de su depósito y la parte final será su
clave o el nombre de su objeto. Al acceder a este enlace, puede acceder al objeto en su depósito.
No se preocupe demasiado cuando decimos que sus objetos son accesibles a través de HTTP. S3
proporciona almacenamiento seguro de objetos que usted controla. De forma predeterminada,
cuando carga un objeto en un depósito, es privado. Eso significa que si desea compartir la URL del
objeto con otra persona o aplicación, debe configurar los permisos en ese objeto para permitir el
acceso. Puede controlar el acceso al depósito y a los objetos mediante listas de control de acceso y
políticas de depósito. Puede proteger aún más el acceso a S3 imponiendo conexiones solo HTTPS.
Puede escribir, leer y eliminar objetos que contienen información desde 1 byte hasta 5 terabytes
de información por objeto. Aunque el tamaño de cada objeto cargado está limitado a 5 terabytes,
el límite de tamaño general del depósito no está limitado, lo que permite un crecimiento de
almacenamiento sin límite. Puede almacenar casi cualquier cosa en S3. Es simple, flexible, rentable
y fácil de configurar. Vayamos a una demostración y veamos cómo usar S3.

EFS

You might also like