{"id":21471790,"url":"https://github.com/brianredbeard/aws-cva6-tf","last_synced_at":"2025-03-17T07:17:27.267Z","repository":{"id":245350472,"uuid":"817995815","full_name":"brianredbeard/aws-cva6-tf","owner":"brianredbeard","description":"Terraform definitions attempting to make it easy to spin up an Amazon F1 instance for FPGA development.","archived":false,"fork":false,"pushed_at":"2024-10-30T22:37:40.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T16:25:09.340Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brianredbeard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-20T22:01:58.000Z","updated_at":"2024-10-30T22:39:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"a35b728b-cbda-4395-a83c-ed3cd9c18d31","html_url":"https://github.com/brianredbeard/aws-cva6-tf","commit_stats":null,"previous_names":["brianredbeard/aws-cva6-tf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianredbeard%2Faws-cva6-tf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianredbeard%2Faws-cva6-tf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianredbeard%2Faws-cva6-tf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianredbeard%2Faws-cva6-tf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianredbeard","download_url":"https://codeload.github.com/brianredbeard/aws-cva6-tf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243989731,"owners_count":20379648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T09:45:41.000Z","updated_at":"2025-03-17T07:17:27.240Z","avatar_url":"https://github.com/brianredbeard.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS CVA6 Setup\n\n## Agree to License\n\nFirst to use the software one has to agree to the EULA:\n\nhttps://aws.amazon.com/marketplace/pp/prodview-gimv3gqbpe57k\n\nThis will take a few minutes to complete.\n\n\n## Using this repo\n\nThis repository contains a set of Terraform/OpenTofu definitions which make it\nsimple to deploy an Amazon AWS F1 instance (or other machine type), including\nspawning the host as a spot instance.  This results in a system which has a\npricing discount of up to 80%.  The discount comes from the need to explore the\ncost of different availability zones (AZs) and manually placing the host in the\nAZ.\n\n\nTo begin, common variables are defined in `variables.tf`.  These can then be\npopulated in a `tfvars` file.  Below is an example of a file I use called\n`development.tfvars`:\n\n```\ninstance_type     = \"t3.2xlarge\"\n# Centos AMI\nmarketplace_id    = \"/aws/service/marketplace/prod-a77hqdkwpdk3o/\"\nspot_price        = 0.14\nuse_spot_instance = true\n```\n\nPopulating this file allows for calling the following command:\n\n    tofu apply -var-file development.tfvars\n\nThis will run in an idempotent manner, attempting to reconcile the difference\nbetween the proposed state (as defined in these files) and the running state.\n\n## Identify the correct image\n\nCurrently this repo is focused around retreiving the AMI ID using AWS SSM\n(formerly \"Simple Systems Manager\").  This presents the ability to use\nmarketplace AMI images, like ones with the Nvidia or Xilinx toolsets installed.\n\nUsers are encouraged to experiment with other marketplace IDs. As an example,\none can get the AMI IDs for the CentOS 7 with the following command:\n\n    aws ssm get-parameters-by-path --path \"/aws/service/marketplace/prod-a77hqdkwpdk3o/\"\n\nIf you see the correct sets of images (and one ending in `/latest`), use the\npath to populate the `marketplace_id` variable.\n\n\n\u003c!--\n\nvim: ts=2 sw=2 et tw=80 sts\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianredbeard%2Faws-cva6-tf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianredbeard%2Faws-cva6-tf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianredbeard%2Faws-cva6-tf/lists"}