-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Assignment Proposal | ||
|
||
## Title | ||
|
||
_AIAC: An AI Infrastructure-as-code Generator_ | ||
|
||
## Names and KTH ID | ||
|
||
- Diogo Gaspar ([email protected]) | ||
- Diogo Melita ([email protected]) | ||
|
||
## Deadline | ||
|
||
- Week 5 | ||
|
||
## Category | ||
|
||
- Demo | ||
|
||
## Description | ||
|
||
We will demo [AIAC](https://github.com/gofireflyio/aiac), a tool which makes use of generative AI tools, | ||
generating infrastucture-as-code "templates, configurations, utilities, queries and more via LLM providers | ||
such as OpenAI, Amazon Bedrock and Ollama". | ||
Our idea is, besides first briefly presenting the tool itself and its capabilities, take one | ||
previously-thought-of prompt and try it in front of the class, and then ask one of our colleagues and/or | ||
one of the teachers for another prompt, and reason regarding the obtained results in both cases (whether they | ||
were good, if re-prompting with a few tweaks should fix basic issues, if it hallucinated, etc). | ||
|
||
**Relevance** | ||
|
||
Our demo will aim to display this tool's (and generative AI tools' more generally) capabilities | ||
of generating serviceable IaC, and how these may help developers toward their goals (taking, of course, | ||
into consideration that these are fallible tools, with no built-in formal validity/correcteness checks). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Assignment Proposal | ||
|
||
## Title | ||
|
||
Declarative and reproducible deployments with NixOS | ||
|
||
## Names and KTH ID | ||
|
||
- Diogo Correia ([email protected]) | ||
- Tomás Esteves ([email protected]) | ||
|
||
## Deadline | ||
|
||
Week 5 | ||
|
||
## Category | ||
|
||
Demo | ||
|
||
## Description | ||
|
||
NixOS is an immutable Linux distribution that aims to be reproducible | ||
and declarative thanks to the underlying Nix functional language. | ||
Through the Nix language, it is possible to declare all aspects of a system, | ||
ensuring that the result will always be the same, no matter when or where | ||
the system configuration is deployed. | ||
Other properties of NixOS include easy rollbacks, dependency pinning for each package, | ||
specialisations, cleanup of previous configurations, and more. | ||
|
||
In this demo, we will show the audience how to deploy a fully-configured NixOS | ||
system in seconds, using tools like nixos-anywhere to bootstrap the installation | ||
and disko to declare disk partitions. | ||
|
||
**Relevance** | ||
|
||
NixOS (and the associated Nix language and Nixpkgs package repository) are the pinnacle | ||
of Infrastructure as Code, allowing for a system to be completely defined through | ||
Nix code. | ||
This makes similar deployments extremely easy and scalable, as Nix code can be shared | ||
between many hosts. | ||
Additionally, updates to packages and configuration can be performed in bulk or in a | ||
CI/CD system and copied to the resulting systems. |