From 85d63032c1e99b3cf3851861588ea20d906f3467 Mon Sep 17 00:00:00 2001 From: Rowena Date: Mon, 16 Dec 2024 16:50:27 +0100 Subject: [PATCH] fix(docs): respond to client feedback --- faq/elastic-metal.mdx | 7 ++++++- tutorials/deploy-saas-application/index.mdx | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/faq/elastic-metal.mdx b/faq/elastic-metal.mdx index e7621db412..fbe913a806 100644 --- a/faq/elastic-metal.mdx +++ b/faq/elastic-metal.mdx @@ -156,6 +156,10 @@ Each failover IP consists of a `/64` IPv6 subnet (18,446,744,073,709,551,616 IPv Yes, Elastic Metal servers are delivered with an IPv6 address (/128) preconfigured. +### Can I attach Block Storage volumes to my Elastic Metal server? + +Elastic Metal is not currently compatible with Block Storage, but this functionality is planned for the future. + ## Windows Server specific questions ### Is Windows available on Elastic Metal? @@ -184,4 +188,5 @@ After installing the OS, you can manually enable Hyper-V roles from the Roles an ### How many virtual machines can I install under Hyper-V? -Hyper-V is a hypervisor for hosting virtual machines. The Standard version of Microsoft Server allows you to install 2 virtual machines per host (per Elastic Metal server). The number of virtual machines (VM) on the Datacenter version is unlimited. \ No newline at end of file +Hyper-V is a hypervisor for hosting virtual machines. The Standard version of Microsoft Server allows you to install 2 virtual machines per host (per Elastic Metal server). The number of virtual machines (VM) on the Datacenter version is unlimited. + diff --git a/tutorials/deploy-saas-application/index.mdx b/tutorials/deploy-saas-application/index.mdx index bdce57cccf..ccd4844d05 100644 --- a/tutorials/deploy-saas-application/index.mdx +++ b/tutorials/deploy-saas-application/index.mdx @@ -69,7 +69,7 @@ In all applications, you have to define settings, usually based on environment v AWS_DEFAULT_ACL = 'public-read' AWS_LOCATION = 'static' - STATICFILES_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage' + STORAGES = 'storages.backends.s3boto3.S3Boto3Storage' AWS_S3_SIGNATURE_VERSION = 's3v4' AWS_S3_HOST = 's3.%s.scw.cloud' % (AWS_S3_REGION_NAME,) @@ -77,7 +77,7 @@ In all applications, you have to define settings, usually based on environment v STATIC_URL = '%s/%s/' % (AWS_S3_ENDPOINT_URL, AWS_LOCATION) ``` - Before we look more closely at the variables we just added, further action is required. Since you have a new package (`boto3` in this case) used in the variable `STATICFILES_STORAGE`, you need to follow the next steps: + Before we look more closely at the variables we just added, further action is required. Since you have a new package (`boto3` in this case) used in the variable `STORAGES`, you need to follow the next steps: 3. Add the `boto3` package to your requirements list. 4. Add the `boto3` package (`storages` app) to the list of applications used in your Django project in your `settings.py` file. ``` @@ -94,7 +94,7 @@ In all applications, you have to define settings, usually based on environment v - `AWS_S3_HOST` and `AWS_S3_ENDPOINT_URL` are the URLs needed to access your Object Storage bucket. They are composed of the previously defined variables. - `AWS_LOCATION` is the folder that will be created in our Object Storage bucket for our static files - `STATIC_URL` has changed - - `STATICFILES_STORAGE` defines the new storage class that we want to use, here standard Amazon S3 protocol storage. We now need to give values to our environment values, so that they can be correctly found by `settings.py` via `os.getenv('MY_VAR_NAME')`. + - `STORAGES` defines the new storage class that we want to use, here standard Amazon S3 protocol storage. We now need to give values to our environment values, so that they can be correctly found by `settings.py` via `os.getenv('MY_VAR_NAME')`. Remember that Amazon S3 is a standard protocol. Even though the `boto3` library asks us to prefix variables with `AWS`, it nonetheless works perfectly with Scaleway Object Storage.