15. Storage de
bloco da AWS
Storage
Instância
EC2
io1gp2
EBS
SSD
sc1st1
EBS
HDD
HDDSSD
16. O que é o storage da instância Amazon EC2?
EC2 instances • Local na instância
• Não persistente
• Dado não replicado (default)
• Não suporta snapshot
• SSD ou HDD
Physical host
Instance store
or
17. Storage da instância EC2 Vs. EBS
• Local na instância
• Não persistente
• Dado não replicado (default)
• Não suporta snapshot
• SSD ou HDD (pré-definido)
• Persistente
• 99.999% de disponibilidade
• Automaticamente replicado dentro
da Zona de Disponibilidade (AZ)
• Snapshot com Point-in-time
• Mudança do tipo de volume
• SSD ou HDD
EBS Storage da instância EC2
19. O que é o EBS?
EBS
volume
EC2
instance
• Storage de bloco as a service
• Crie, atache volumes através de API
• Serviço acessado pela rede
20. EBS não é como o volume de disco do seu datacenter
EC2
instance
!=
EBS
volume
21. O dados do EBS estão replicados
EC2
instance
EBS
volume
22. Persistência e flexibilidade do EBS
EC2
instance
• Volume persiste independente
da instância EC2
• Selecione o storage e a
instância de acordo com a sua
aplicação
• Desatache e atache de
instâncias dentro da mesma AZ
Availability Zone
AWS Region
EBS
volume
23. Persistência e flexibilidade do EBS
EC2
instance
• Volume persiste independente
da instância EC2
• Selecione o storage e a
instância de acordo com a sua
aplicação
• Desatache e atache de
instâncias dentro da mesma AZ
Availability Zone
AWS Region
EBS
volume
24. Atachando vários EBS na instância EC2
EC2
instance
• Volume atacha em uma
instância de cada vez
• Muitos volumes podem ser
atachados a uma instância
• Separe volumes de boot
dos de dadosEBS
volume
(boot)
EBS
volume
(data)
EBS
volume
(data)
Availability Zone
AWS Region
25. A replicação do volume EBS é nativa
EBS
volume
Availability Zone
AWS Region
Replica
26. O EBS foi projetado para
99.999% de disponibilidade
0.1% a 0.2% de taxa de falha anual (AFR)
(Vs. 1%~2% de um HD convencional)
48. Como funciona o EBS snapshot?
• Backup point-in-time dos blocos alterados do
volume
• Armazenado no S3
• Snapshots seguintes são incrementais
• Apagar um snapshot somente remove os dados
exclusivos daquele snapshot
EBS
volume
EBS
snapshot
54. Classes de storage de objeto AWS
GlacierS3 Standard
S3 Standard -
Infrequent Access
Regras automáticas do ciclo de vida do dado
S3 One Zone -
Infrequent Access
Dados ativos
Acesso em ms
Min 3 AZs
$0.023
Arquivo
Minutos a Horas
Min 3 AZs
$0.004
Duração minima de 30 dias
Acesso em ms
Min 3 AZs
$0.0125
Duração minima de 30 dias
Acesso em ms
Min 1 AZ
$0.01
Preço por GB por mês na região de US East (N. Virginia)
One example of AWS experience at scale in the storage portfolio is Amazon S3. While S3 has been publicly available since 2006, this chart reflects growth over just the last few years.
AWS infrastsructure is based on multiple datacenters in every Availabilty Zone, with multiple Availabilty Zones in each geographic region. That means AWS storage is designed to withstand the failure of an entire datacenter. This, coupled with over a decade of experience, makes AWS the storage choice for highly sensitive organizations like the US Government.
There is no better choice for object storage than Amazon. Here’s why:
Unmatched durability and scalability. Amazon S3 was built from the ground up to deliver a customer promise of eleven-nines of durability. Data is automatically distributed across a minimum of three physical facilities that are geographically separated by at least 10 kilometers within an AWS Region, and Amazon S3 can also automatically replicate data to another AWS Region.
Most Comprehensive Security & Compliance. Amazon S3 is the only cloud storage platform that supports three different forms of encryption, including automatic server-side encryption, encryption with keys managed by the AWS Key Management Service (KMS), and encryption with keys managed by the customer. S3 offers sophisticated integration with AWS CloudTrail to log, monitor and retain storage API call activities for auditing. Amazon S3 is the only cloud storage platform that includes Amazon Macie, an AI-powered security service that continuously monitors use of your data to detect anomalies, and then issues alerts to you can take action to prevent data loss or inadvertent sharing.
Amazon S3 supports more security standards and compliance certifications than any other offering, including PCI-DSS, HIPAA/HITECH, FedRAMP, SEC Rule 17-a-4, EU Data Protection Directive, and FISMA, helping satisfy compliance requirements for virtually every regulatory agency around the globe. This level of protection helps highly regulated organizations, such as the United States Federal Government, operate more securely in the AWS cloud than in their own data centers.
Query-in-Place – Amazon S3 is the only cloud storage platform that lets customers run sophisticated analytics on their data without requiring them to extract and move the data to a separate analytics database. Anyone who knows SQL can use Amazon Athena to analyze vast amounts of unstructured data in Amazon S3 on-demand. With Amazon Redshift Spectrum, customer can run sophisticated analytics against exabytes of data in S3, and run queries that span both the data you have in S3 and in your Redshift data warehouses.
Customers use S3 to build for backup and restore, data lakes and IoT, analytics and cloud-native applications
Glacier is the most cost effective way to store data for archive and long-term backup. It’s ideal for active archive, tape replacement, and regulatory compliance use cases. Glacier is built on the same highly durable infrastructure as S3, but with a focus on long-term archival use cases.
The Glacier Select API extends a data lake and lower the cost of storage while opening archived data up to on-demand analytics queries. And data can be accessible in minutes through expedited retrievals.
S3 Standard object storage classes replicates your data across at least three Availability Zones within a single region. This gives you unmatched resilience to single data center issues like power failures, and helps us deliver that 99.9999999% durability.
Sometimes your data just doesn’t need this. In that case, for easily re-createable data or backups, we offer the S3 One Zone-IA class. This helps you reduce costs in backup or replication scenarios.
AWS AZs are always miles apart, never in a 3rd party colocation facility, and of course, never defined as a single room or a partial rack.
Amazon S3, S3-IA, & Glacier were built from the ground up to deliver eleven-nines of durability. That means customers can expect to lose a single object every 10,000 years. We work with many customers who archive data by storing two copies of tape either in the same building or one copy on-site and one remote.
When we discuss durability, which is a big deal for many archive customers, many are accustomed to thinking in number of “copies” and found the 11 9’s a bit non-intuitive.
To bridge that, we did a thought experiment with a large studio where, at a high level, we walked them through how we derived the 11 9’s using a Markov chain model where we modeled failures from storage device, server, network, availability zone, etc.
We asked them to estimate their two-copy tape durability using a similar concept and:
they estimated ~4 9’s for two copies in a single building
or ~5 9’s for two copies in separate locations.
This helped them realize that AWS’s 11 9’s durability can be thought of as 6 to 7 orders of magnitude more durable than two copies of tape and helped us bridge the conversation.
So, what’s the problem we’re trying to address with Storage Gateway?
You have a lot of data and your data stores are ever-growing. As data stores grow, companies are faced with the challenges of having to backup, archive and maintain reliable access to their data. This can be cumbersome to maintain, not to mention expensive. Most companies want to implement a cloud strategy for their applications and data that can reduce these challenges, but it can be difficult to know where to start.
Do these challenges look familiar?
Is your on-premises footprint always expanding? Are you and your teams challenged with the operational complexity of maintaining expensive data centers and infrastructure? Are your storage costs rising and putting pressure on your budget?
If any of these situations look familiar, then you should consider taking a look at how AWS Storage Gateway can address your challenges.
Secure & efficient: Data encrypted and compressed in transit and at rest
Scalable: Unlimited archive capacity; up to 1 PB total tape storage per gateway
Dependable: 3–5-hour tape retrieval
Virtual tape storage in Amazon S3 and Amazon Glacier with VTL management
Secure & efficient: Data encrypted and compressed in transit and at rest
Scalable: Unlimited archive capacity; in Glacier for archive – it’s unlimited,
for online data in S3 up to 1 PB total tape storage or 1,500 max tapes per gateway, and can add more gateways to keep more data
This chart compares the cost of gateway versus traditional, on-premises tape archival costs. You can see how tape gateway provides about a 40% savings in this case. The savings is derived from a few areas. Not having to pay for tape media, offsite archival, as well as a reduction in admin time and maintenance of physical tapes and tape infrastructure.