# BoxLang Cloud Servers

Setting up BoxLang servers on various cloud platforms involves a series of steps to ensure efficient deployment and management. Below is a brief introduction to setting up BoxLang servers on AWS, Azure, Google Cloud, and IBM Cloud. You can find much more information here: <https://boxlang.io/hosting>

{% embed url="<https://boxlang.io/hosting>" %}

<figure><img src="/files/PdvUkVrtRVNIuupBYdL2" alt=""><figcaption></figcaption></figure>

BoxLang Cloud Servers provide ready-to-use virtual machines optimized for running BoxLang applications. Available on multiple cloud platforms with both Windows and Ubuntu configurations, these solutions streamline deployment and offer seamless scalability for developers and enterprises.

{% @mermaid/diagram content="graph TB
subgraph "Internet"
U\[Users/Clients]
end

```
subgraph "Cloud Provider"
    subgraph "Load Balancer"
        LB[Load Balancer<br/>HTTP/HTTPS Traffic]
    end
    
    subgraph "BoxLang Instances"
        VM1[BoxLang VM 1<br/>Ubuntu/Windows]
        VM2[BoxLang VM 2<br/>Ubuntu/Windows]
        VM3[BoxLang VM 3<br/>Ubuntu/Windows]
    end
    
    subgraph "Database Layer"
        DB[(Database<br/>MySQL/PostgreSQL)]
    end
    
    subgraph "Storage"
        S3[Object Storage<br/>Files & Assets]
    end
end

U --> LB
LB --> VM1
LB --> VM2
LB --> VM3
VM1 --> DB
VM2 --> DB
VM3 --> DB
VM1 --> S3
VM2 --> S3
VM3 --> S3" %}
```

## **Available Platforms:**

* **Amazon Web Services (AWS)** - Ubuntu & Windows AMIs
* **Microsoft Azure** - Ubuntu Virtual Machines
* **Google Cloud Platform** - Coming Soon

### Key Features & Advantages

* Pre-configured & optimized - Instantly deploy a fully set-up BoxLang runtime.
* Cloud-ready & scalable - Take full advantage of a powerful infrastructure.
* Enterprise-grade security - Enhanced protection for a reliable environment.
* Cost-effective - Pay only for the resources you actually use.

***

## [Amazon Web Services](/getting-started/boxlang-cloud-servers/amazon-web-services.md)

AWS offers Elastic Compute Cloud (EC2) instances for running BoxLang servers. To deploy:

1. Launch an EC2 instance within your desired region.
2. Choose an appropriate instance type (e.g., t2.micro for low traffic).
3. Configure security groups to allow relevant traffic on required ports (e.g., HTTP, HTTPS).

## [Azure](/getting-started/boxlang-cloud-servers/microsoft-azure.md)

Azure provides Virtual Machines (VMs) for hosting BoxLang:

1. Create a virtual machine (VM) in the Azure Portal with the required resources.
2. Select a suitable VM size based on your specific needs.
3. Set up network security groups to manage inbound and outbound traffic.

## [Google Cloud](/getting-started/boxlang-cloud-servers/google-cloud.md)

Google Cloud offers Compute Engine virtual machines for BoxLang deployment:

1. Create a VM instance via the Google Cloud Console.
2. Choose machine type and region accordingly.
3. Set firewall rules for your server requests.

Each platform provides comprehensive documentation and support to guide you through specific setup requirements and optimizations.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://boxlang.ortusbooks.com/getting-started/boxlang-cloud-servers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
