Skip to content

Commit

Permalink
Merge pull request #312 from Genez-io/add-eu-west-1-region
Browse files Browse the repository at this point in the history
Add eu-west-1 region
  • Loading branch information
andreia-oca authored Feb 19, 2025
2 parents 77521de + 61e24b8 commit 76c14a3
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 15 deletions.
6 changes: 3 additions & 3 deletions docs/cli-tool/cli-commands/genezio-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ These options work with any `genezio create` subcommand

`--region <project-region>`: Region of the project
- Required, asked interactively if not provided
- Choices: `us-east-1`, `eu-central-1`

- Choices: `us-east-1`, `eu-central-1`, `eu-west-1`

`--path <project-path>`: The path where the new project will be created

- Default: `current-directory + project-name`
Expand Down
4 changes: 2 additions & 2 deletions docs/frameworks/django.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ This file will contain the configuration needed to deploy your backend using Gen
```yaml title="genezio.yaml"
# The name of the project.
name: django-app
# The region where the project is deployed. Available regions: us-east-1, eu-central-1
# The region where the project is deployed. Available regions: us-east-1, eu-central-1, eu-west-1
region: us-east-1
# The version of the Genezio YAML configuration to parse.
yamlVersion: 2
Expand Down Expand Up @@ -313,7 +313,7 @@ Run the following command in your terminal:
<TabItem className="tab-item" value="windows" label="Windows">
<div id="windows">
```
python manage.py runserver
python manage.py runserver
```
</div>
</TabItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/frameworks/expressjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ This command will analyze your project and create the genezio.yaml file in the r
```yaml title="genezio.yaml"
# The name of the project.
name: express-app
# The region where the project is deployed. Available regions: us-east-1, eu-central-1
# The region where the project is deployed. Available regions: us-east-1, eu-central-1, eu-west-1
region: us-east-1
# The version of the Genezio YAML configuration to parse.
yamlVersion: 2
Expand Down
4 changes: 2 additions & 2 deletions docs/frameworks/fastapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ app = FastAPI()
@app.get("/")
def home():
return {"Hello": "World"}

if __name__ == "__main__":
import uvicorn
uvicorn.run(app)
Expand Down Expand Up @@ -203,7 +203,7 @@ This file will contain the configuration needed to deploy your backend using Gen
```yaml title="genezio.yaml"
# The name of the project.
name: fastapi-app
# The region where the project is deployed. Available regions: us-east-1, eu-central-1
# The region where the project is deployed. Available regions: us-east-1, eu-central-1, eu-west-1
region: us-east-1
# The version of the Genezio YAML configuration to parse.
yamlVersion: 2
Expand Down
2 changes: 1 addition & 1 deletion docs/frameworks/fastify.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ This command will analyze your project and create the genezio.yaml file in the r
```yaml title="genezio.yaml"
# The name of the project.
name: fastify-app
# The region where the project is deployed. Available regions: us-east-1, eu-central-1
# The region where the project is deployed. Available regions: us-east-1, eu-central-1, eu-west-1
region: us-east-1
# The version of the Genezio YAML configuration to parse.
yamlVersion: 2
Expand Down
2 changes: 1 addition & 1 deletion docs/frameworks/flask.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ This file will contain the configuration needed to deploy your backend using Gen
```yaml title="genezio.yaml"
# The name of the project.
name: flask-app
# The region where the project is deployed. Available regions: us-east-1, eu-central-1
# The region where the project is deployed. Available regions: us-east-1, eu-central-1, eu-west-1
region: us-east-1
# The version of the Genezio YAML configuration to parse.
yamlVersion: 2
Expand Down
7 changes: 4 additions & 3 deletions docs/project-structure/genezio-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ The supported regions are:
| -------------- | ------------------ |
| `us-east-1` | US, North Virginia |
| `eu-central-1` | Europe, Frankfurt |
| `eu-west-1` | Europe, London |

```yaml
# The region where the project is deployed. Available regions: us-east-1, eu-central-1
# The region where the project is deployed. Available regions: us-east-1, eu-central-1, eu-west-1, eu-west-1
region: us-east-1
```

Expand Down Expand Up @@ -112,7 +113,7 @@ The supported regions are:
| ---------------- | ----------------------- | ---------- | ------- |
| `us-east-1` | US, North Virginia | ✅ | ✅ |
| `eu-central-1` | Europe, Frankfurt | ✅ | ✅ |
| `eu-east-2` | US, Ohio | ✅ | ❌ |
| `us-east-2` | US, Ohio | ✅ | ❌ |
| `us-west-2` | US, Oregon | ✅ | ❌ |
| `ap-southeast-1` | Asia Pacific, Singapore | ✅ | ❌ |
| `ap-southeast-2` | Asia Pacific, Sidney | ✅ | ❌ |
Expand Down Expand Up @@ -521,7 +522,7 @@ This resource exposes `url` as an output expression: `${{backend.functions.<func
```yaml title="genezio.yaml
# The name of the project.
name: express-app
# The region where the project is deployed. Available regions: us-east-1, eu-central-1
# The region where the project is deployed. Available regions: us-east-1, eu-central-1, eu-west-1
region: us-east-1
# The version of the Genezio YAML configuration to parse.
yamlVersion: 2
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/how-to-deploy-a-serverless-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ This file will contain the configuration needed to deploy your backend using Gen
```yaml title="genezio.yaml"
# The name of the project.
name: functions-app
# The region where the project is deployed. Available regions: us-east-1, eu-central-1
# The region where the project is deployed. Available regions: us-east-1, eu-central-1, eu-west-1
region: us-east-1
# The version of the Genezio YAML configuration to parse.
yamlVersion: 2
Expand Down Expand Up @@ -204,7 +204,7 @@ This file will contain the configuration needed to deploy your backend using Gen
```yaml title="genezio.yaml"
# The name of the project.
name: functions-app
# The region where the project is deployed. Available regions: us-east-1, eu-central-1
# The region where the project is deployed. Available regions: us-east-1, eu-central-1, eu-west-1
region: us-east-1
# The version of the Genezio YAML configuration to parse.
yamlVersion: 2
Expand Down

0 comments on commit 76c14a3

Please sign in to comment.