Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Terraform for AWS #67

Merged
merged 4 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ Starlight is implemented on top of **containerd**. It is comprised of cloud and
Starlight is compatible with Kubernetes and can replace the default `overlayfs` snapshotter.
We could use helm to deploy Starlight on a Kubernetes cluster.

- [I am familiar with **K8s** & Helm. **TL;DR**](https://github.com/mc256/starlight/blob/master/docs/helm.md)
- [I have 2 **Virtual Machines**, but **TL;DR**](https://github.com/mc256/starlight/blob/master/docs/newbie.md)
- [I am familiar with **K8s** & Helm.](https://github.com/mc256/starlight/blob/master/docs/helm.md)
- [I know **Terraform** and have an **AWS** account](https://github.com/mc256/starlight/blob/master/docs/terraform.md)
- [I just have 2 **Virtual Machines**.](https://github.com/mc256/starlight/blob/master/docs/2vm.md)

---

Expand All @@ -62,7 +63,6 @@ You need to:
1) Set up a **Starlight proxy**,
ideally close to the **registry** server you are using. Configure the proxy server to point to the registry and run it.
Starlight supports any standard registry. (It can be deployed to k8s using ***Helm***)
<br>[Find out how to install **Starlight proxy** ➡️](https://github.com/mc256/starlight/blob/master/docs/starlight-proxy.md)


2) Set up the worker to be able to run Starlight.
Expand All @@ -71,7 +71,6 @@ installing **containerd** and the **Starlight snapshotter plugin**,
configuring containerd to use the plugin,
and starting the Starlight snapshotter daemon
(you also need to tell the snapshotter the address of the proxy server).
<br>[Find out how to install **containerd** & **Starlight snapshotter plugin** ➡️](https://github.com/mc256/starlight/blob/master/docs/starlight-snapshotter.md)


3) Convert the container image to the **Starlight format** container image.
Expand Down Expand Up @@ -179,8 +178,9 @@ Starlight is not complete. Our roadmap:
| [v0.1.3](https://github.com/mc256/starlight/tree/v0.1.3) | |2022-10-12|
| [v0.2.7](https://github.com/mc256/starlight/tree/v0.2.7) | |2022-11-27|
| [v0.3.2](https://github.com/mc256/starlight/tree/v0.3.2) | |2023-01-27|
| [v0.4.7](https://github.com/mc256/starlight/tree/v0.4.7) | stable |2023-06-05|
| [v0.5.x](https://github.com/mc256/starlight) | in progress | |
| [v0.4.7](https://github.com/mc256/starlight/tree/v0.4.7) | |2023-06-05|
| [v0.5.x](https://github.com/mc256/starlight/tree/v0.5.8) | stable |2023-11-26|
| [v0.6.x](https://github.com/mc256/starlight/) | in progress |2024|

Feature List:
- [x] Scalable database backend (v0.2)
Expand All @@ -196,9 +196,9 @@ Feature List:
- [x] Goharbor support (v0.2)
- [x] Multiple platforms image support (v0.2)
- [x] Jointly optimizing multiple containers deployments (v0.4)
- [ ] Argo CI/CD support (v0.6)
- [ ] Hook/ Scanner for automatic image conversion (v0.5)
- [ ] Converting containers that have already been fully retrieved using Starlight to use OverlayFS. (v0.5)
- [ ] Starlight new features (v0.6)
- [ ] Resume interrupted pull connection (v0.5)
- [ ] Garbage Collection (v0.5)
- [ ] Argo CI/CD support (v0.7)
- [ ] Hook/ Scanner for automatic image conversion (v0.7)
- [ ] Converting containers that have already been fully retrieved using Starlight to use OverlayFS. (v0.7)
- [ ] Starlight new features (v0.7)
- [ ] Resume interrupted pull connection (v0.7)
- [ ] Garbage Collection (v0.7)
19 changes: 19 additions & 0 deletions demo/terraform/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Ignore Terraform state files
*.tfstate
*.tfstate.backup
*.tfplan

# Ignore .terraform directory
.terraform/

# Ignore override files
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Ignore CLI configuration files
.terraformrc
terraform.rc

.terraform.tfstate.lock.info
25 changes: 25 additions & 0 deletions demo/terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions demo/terraform/locals.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
locals {
project_name = var.project_id
}
Loading
Loading