Skip to content

Commit

Permalink
CHORE: Price Example + i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
lfsigreja committed Jul 29, 2024
1 parent 3960779 commit 2eb400e
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Table/TablePricing.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ const i18n = {
'Next 450 TB per month': 'Próximos 450 TB por mês',
'Over 500 TB per month': 'Acima de 500 TB por mês',
'Operations': "Operations",
'Rate': "Rate",
'HTTP/HTTPS Requests, all methods': 'Requisições HTTP/HTTPS, todos os métodos',
Expand Down Expand Up @@ -61,7 +64,8 @@ const i18n = {
'26 through 10,000 hosted zones': 'De 26 até 10.000 zonas hospedadas',
'Over 10,000 hosted zones': 'Acima de 10.000 zonas hospedadas',
'First 1 billion queries / month': 'Primeiros 1 bilhão de consultas / mês',
'Over 1 billion queries / month': 'Acima de 1 bilhão de consultas / mês'
'Over 1 billion queries / month': 'Acima de 1 bilhão de consultas / mês',
}
};
Expand Down
12 changes: 12 additions & 0 deletions src/content/docs/en/pages/main-menu/pricing/pricing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,18 @@ Store and retrieve objects from anywhere with low latency. No vendor lock-in wit
metric_slug="egress_bandwidth"
/>

#### Price example

If, during the month of November, you performed 100,000 daily transactions of each of the classes, and in the period from November 1 to 5, from 0 am to 12 pm, you stored 15 GB, while in the interval from November 5, at 12 hours, until the end of November 30th, recorded a storage of 30 GB, the value calculation will be carried out as follows:

| Operation Type | |
|------------------------------------------------------------------------------------------------------------------------------------|------------|
| **Class A Operations** <br/> ((100,000 daily transactions x 30 days in the month) / 1,000) x 0.006 USD | 18.00 USD |
| **Class B Operations**<br/> ((100,000 daily transactions x 30 days in the month) / 10,000) x 0.006 USD | 1.80 USD |
| **Class C Operations** <br/> 100,000 x 0 USD | 0.00 USD |
| **Storage** <br/> ((15 GB x 108 hours + 30 GB x 612 hours) / 720 hours in the month) x 0.023 USD | 0.64 USD |
| **Total charges**<br/>According to this simulation, the total amount to be paid in this month will be | **20.44 USD** |

## Secure

### DDoS Protection
Expand Down
88 changes: 88 additions & 0 deletions src/content/docs/pt-br/pages/menu-principal/pricing/pricing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,94 @@ Se sua aplicação com **Load Balancer** habilitado gerou dentro de um mês 30 T

---

## Store

### Edge Storage

Armazene e recupere objetos com baixa latência onde quer que você esteja. Sem vendor lock-in e API compatível com S3

<LinkButton
link="https://www.azion.com/pt-br/produtos/edge-storage/"
label="Acesse os detalhes do produto"
severity="secondary"
/>

<TablePricing
lang="pt-br"
metric='Storage'
billing={[
'USA',
'Brazil'
]}
product_slug="edge_storage"
metric_slug="used_space"
/>

<TablePricing
lang="pt-br"
metric='Class A Operations | por 1,000'
billing={[
'USA',
'Brazil'
]}
product_slug="edge_storage"
metric_slug="class_a_operations"
/>

<TablePricing
lang="pt-br"
metric='Class B Operations | por 10,000'
billing={['USA', 'Brazil']}
product_slug="edge_storage"
metric_slug="class_b_operations"
/>

<TablePricing
lang="pt-br"
metric='Class C Operations | incluso'
billing={[
'USA',
'Brazil'
]}
product_slug="edge_storage"
metric_slug="class_c_operations"
/>

<TablePricing
lang="pt-br"
metric='Ingress Bandwidth | incluso'
billing={[
'USA',
'Brazil'
]}
product_slug="edge_storage"
metric_slug="ingress_bandwidth"
/>

<TablePricing
lang="pt-br"
metric='Egress Bandwidth | incluso*'
billing={[
'USA',
'Brazil'
]}
product_slug="edge_storage"
metric_slug="egress_bandwidth"
/>

#### Exemplo de preço

Se, durante o mês de novembro, você realizou 100.000 transações diárias de cada uma das classes, e no período de 1 a 5 de novembro, das 0h às 12h, você armazenou 15 GB, enquanto no intervalo de 5 de novembro, às 12h, até o final de 30 de novembro, registrou um armazenamento de 30 GB, o cálculo do valor será realizado da seguinte forma:

| Tipo de Operação | |
|-----------------------------------------------------------------------------------------------------------------------------------|-------------|
| **Class A Operations** <br/> ((100.000 transações diárias x 30 dias no mês) / 1.000) x 0,006 USD | 18,00 USD |
| **Class B Operations** <br/> ((100.000 transações diárias x 30 dias no mês) / 10.000) x 0,006 USD | 1,80 USD |
| **Class C Operations** <br/> 100.000 x 0 USD | 0,00 USD |
| **Storage** <br/> ((15 GB x 108 horas + 30 GB x 612 horas) / 720 horas no mês) x 0,023 USD | 0,64 USD |
| **Valor total**<br/>De acordo com a simulação. o valor total a ser pago no mês será de | **20,44 USD** |


## Secure

### DDoS Protection
Expand Down

0 comments on commit 2eb400e

Please sign in to comment.