Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emirhandogandemir/cloud-infra-generator-api

This tool provides a user interface to create custom infrastructure for cloud environments, allowing you to manage all your cloud environments from a single website and enjoy the convenience
https://github.com/emirhandogandemir/cloud-infra-generator-api

aws azure gcp infrastructure-as-code k8s

Last synced: about 1 month ago
JSON representation

This tool provides a user interface to create custom infrastructure for cloud environments, allowing you to manage all your cloud environments from a single website and enjoy the convenience

Awesome Lists containing this project

README

        

# cloud-infra-generator-api

git clone https://github.com/emirhandogandemir/cloud-infra-generator-api.git

go mod download

go run main.go

`localhost:7070`

#Goals
- Tüm kaynakları görebilecegimiz bir dashboard vm sayımızızı vmIdlerimizi, kubernetes clusterımızın bilgilerini gibi ana ana ana sayfada tüm cloud providerlar için All resources sayfası koyulması
- /createaws endpointinde imageId alanı inputuna ihtiyacımız var
- /getinstancetypesaws array dönüyor onun içindekileri virtualMachines tabi koyup hem vmlistemizi hemde seçilebilecek ilerisi için imageTypesları alırız. İleride ImageIdlist diye de ekliyor olacagız
- /getbillingaws = buradada billgindeki start ve end tarihleri için boş olsada 2 alan girilecek bir alttaki method ile ay ay fatura tutarlarını dönüyor Billing sekmesi koyup oradan amazon ve azure fatura tutarlarının grafiklerini görüyor olacagız
- /getbillingazure => yukarıdaki ile aynı
- /createeks = 2 tane string input alanı gereklidir
- /createnodegroupaws endpointi için => 6 tane alana ihtiyacımız var
- /createvmazure => 6 tane string deger alacak alana ihtiyacımı var
- azure-aws ortamlarının kubernetes cluster monitoringini saglamak pod sayıları nod sayıları gibi verileri
- secret tarafındaki strateji geliştirilecek = user bazlı secret credentialsların dbde tutulması
- Bucket S3 and blob storage endpoints=>

User Create Json =>localhost:7070/users/create
`{
"username": "John Doe",
"email": "[email protected]",
"password": "mypassword",
"aws_accesses": [
{
"accessKey": "accesskey1",
"secretKey": "secretkey1"
},
{
"accessKey": "accesskey2",
"secretKey": "secretkey2"
}
]
}`

AwsAccess Create Json=> localhost:7070/awsaccess/create
`{
"user_id":1,
"accessKey":"aedaedaed",
"secretKey":"aedaedad"
}`

![image](https://github.com/emirhandogandemir/cloud-infra-generator-api/assets/74687192/b3581b88-691a-42c1-9f29-41728a109c1f)