Skip to content

Multi-Cloud Terrarium (mc-terrarium) is an open-source project designed to provide an environment—an infrastructure terrarium—that enhances multi-cloud infrastructure management.

License

Notifications You must be signed in to change notification settings

cloud-barista/mc-terrarium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ce98ab6 · Mar 19, 2025
Oct 25, 2024
Jun 5, 2024
Mar 19, 2025
Mar 6, 2025
Mar 6, 2025
Oct 27, 2023
Mar 4, 2025
Mar 19, 2025
Feb 25, 2025
Mar 19, 2025
Mar 19, 2025
Feb 25, 2025
Mar 4, 2025
Oct 27, 2023
Oct 27, 2023
Feb 25, 2025
Oct 27, 2023
Feb 25, 2025
Mar 11, 2025
Mar 4, 2025
Mar 19, 2025
Mar 13, 2025

Repository files navigation

Multi-Cloud Terrarium

🚀 Powered by OpenTofu
🤝 A Collaboration Between Cloud-Barista & OpenTofu

Multi-Cloud Terrarium (mc-terrarium) is an open-source project designed to provide an environment—an infrastructure terrarium—that enhances multi-cloud infrastructure management.

🌟 Features & Components

The infrastructure terrarium consists of:

  • Multi-Cloud Infrastructure Metadata: Managed by Cloud-Barista to provide a unified view of multi-cloud environments.
  • Infrastructure Enrichment with OpenTofu: Extends Cloud-Barista’s capabilities by provisioning additional resources and services beyond its native support.
  • Infrastructure Code (.tf): Defines and structures infrastructure components and enrichments.
  • Other Evolving Components: Continuously enhancing multi-cloud infrastructure capabilities.

🌍 Multi-Cloud Networking & Beyond

Currently, mc-terrarium provides multi-cloud networking features, such as site-to-site VPN setup. It will continue to evolve, enabling you to seamlessly build and manage the multi-cloud infrastructure you need.

Prerequisites

Install OpenTofu

Get source code

In this readme, the default root directory is ~/mc-terrarium.

git clone https://github.com/cloud-barista/mc-terrarium.git ~/mc-terrarium

Install swag

If you got an error because of missing swag, install swag:

go install github.com/swaggo/swag/cmd/swag@latest

Prepare credentials

Prepare credentials by looking at the README and templates in the /secrets directory.

Note - There may be an issue regarding Credential settings. Contributions are welcome.

Up and run MC-Terrarium

  • Supported Docker Compose based execution.
  • Required a Docker network, terrarium_network

Note

services in other docker composes can access the mc-terrarium service, like http://mc-terrarium:8055/terrarium.
Condition: Set up terrarium_network in external docker compose

You can do this by running the following command:

make compose-up

The command to build and run the source code is as follows:

make compose

Access Swagger UI

You can find the default username and password to access to API dashboard when the API server runs.

URL: http://localhost:8055/terrarium/swagger/index.html

Note - You can find API documentation on Swagger UI.

About

Multi-Cloud Terrarium (mc-terrarium) is an open-source project designed to provide an environment—an infrastructure terrarium—that enhances multi-cloud infrastructure management.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks