Infrastructure as Code and Automation - Using Azure Bicep and Azure Pipelines to Reduce Operational Costs of Infrastructure Through Automation

dc.contributor.authorLarsson, Peach
dc.contributor.authorKhatab, Rozgar
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerDuregård, Jonas
dc.contributor.supervisorKovács, András
dc.date.accessioned2024-09-12T18:38:57Z
dc.date.available2024-09-12T18:38:57Z
dc.date.issued2024
dc.date.submitted
dc.description.abstractThis report describes the development of infrastructure as code to automate the Azure testing environment of the Information Technology department of the corporation New Wave Group. The primary goal is to reduce the monthly incurred costs of Azure resources by deleting them when not in use and recreating them when in use. A secondary goal is to minimize environmental impact by ensuring that idle resources, hosted in data centers, do not consume energy. Bicep, a domain-specific declarative language was used to encapsulate the existing infrastructure into Bicep files as code. These files were deployed, creating the infrastructure, using an Azure pipeline with YAML scripts. The deletion of resources was managed through a separate pipeline and YAML file. The pipelines for deployments and deletions create an automation cycle to terminate and reinitialize infrastructure. Due to time constraints, this work was conducted as a proof of concept in a sandbox environment and excluded certain resources and resource groups. Testing was performed by manually validating the results of deployments in the sandbox environment. It is recommended that NewWave Group further develop this proof of concept to include all resource groups and resources, especially databases. Automation of databases must comply with legal and ethical requirements such as GDPR. An economic analysis shows that automating the three resource groups in this project and an additional resource group for storage can save New Wave Group approximately 8690 SEK per month. Additional savings are possible by automating the remaining resource groups outside of the scope of this project.
dc.identifier.coursecodeLMTX38
dc.identifier.urihttp://hdl.handle.net/20.500.12380/308582
dc.language.isoswe
dc.setspec.uppsokTechnology
dc.subjectARM
dc.subjectBicep
dc.subjectTemplates
dc.subjectAzure
dc.subjectAutomation
dc.subjectIaC
dc.subjectResources
dc.subjectPipelines
dc.subjectYAML
dc.subjectInfrastructure
dc.titleInfrastructure as Code and Automation - Using Azure Bicep and Azure Pipelines to Reduce Operational Costs of Infrastructure Through Automation
dc.type.degreeExamensarbete på grundnivåsv
dc.type.uppsokM
local.programmeDatateknik 180 hp (högskoleingenjör)

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 24-15 RK PL.pdf
Storlek:
2.19 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: