{"id":2198,"date":"2025-03-28T13:40:58","date_gmt":"2025-03-28T12:40:58","guid":{"rendered":"https:\/\/www.dotsource.de\/labs\/?p=2198"},"modified":"2025-04-16T10:28:57","modified_gmt":"2025-04-16T08:28:57","slug":"vms-in-minuten-statt-tagen-wie-infrastructure-as-code-den-entwickleralltag-veraendert","status":"publish","type":"post","link":"https:\/\/www.dotsource.de\/labs\/vms-in-minuten-statt-tagen-wie-infrastructure-as-code-den-entwickleralltag-veraendert\/","title":{"rendered":"VMs in Minuten statt Tagen \u2013 Wie Infrastructure as Code den Entwickleralltag ver\u00e4ndert"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.dotsource.de\/labs\/wp-content\/uploads\/sites\/4\/2025\/04\/Konfiguration_der_Vargantfile_dotSource_labs.jpg\" alt=\"Konfiguration der Vargantfile\" class=\"wp-image-2202\"\/><figcaption class=\"wp-element-caption\">Konfiguration der Vargantfile<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Virtuelle Maschinen neu gedacht: Wie wir mit Infrastructure as Code den Setup-Prozess revolutionieren<\/strong><\/h2>\n\n\n\n<p><strong>Entwicklungsumgebungen sind das R\u00fcckgrat jedes Projekts.<\/strong> Doch wer schon einmal eine Entwickler-VM von Grund auf manuell aufgesetzt hat, wei\u00df: Das ist alles andere als effizient. Die Konfiguration verschlingt Zeit, ist fehleranf\u00e4llig \u2013 und bei gr\u00f6\u00dferen Teams oder Projekten potenziert sich der Aufwand schnell.<\/p>\n\n\n\n<p>In einem aktuellen dotSource-Praxisprojekt haben wir uns gefragt: <strong>Geht das nicht auch besser \u2013 schneller, automatisierter und skalierbarer?<\/strong><\/p>\n\n\n\n<p>Die Antwort: <strong>Ja. Mit dem richtigen Tool und einem Infrastructure-as-Code-Ansatz.<\/strong><\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Von Handarbeit zur Automatisierung: Die Ausgangslage<\/strong><\/h2>\n\n\n\n<p>In einem Kundenprojekt arbeiteten wir bislang mit einer VM, die \u00fcber ein Jahr im Einsatz war \u2013 inklusive veralteter Softwarest\u00e4nde und einem Setup, das nicht mehr den aktuellen Anforderungen entsprach.<\/p>\n\n\n\n<p>Der bestehende Prozess:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>VM in VirtualBox anlegen<\/li>\n\n\n\n<li>Betriebssystem installieren<\/li>\n\n\n\n<li>Entwickler-Tools wie IntelliJ, SAP Commerce, Git, Docker, SoapUI, ZSH etc. manuell einrichten<\/li>\n\n\n\n<li>Funktionstests durchf\u00fchren<\/li>\n\n\n\n<li>Exportieren und in der Cloud f\u00fcr das Team bereitstellen<\/li>\n<\/ul>\n\n\n\n<p><strong>Aufwand pro VM: mehrere Stunden.<\/strong> Und das bei jeder neuen Version.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Das Ziel: Infrastructure as Code mit Vagrant<\/strong><\/h2>\n\n\n\n<p>Statt jedes Mal bei null zu beginnen, sollte k\u00fcnftig ein einziges Skript ausreichen, um die vollst\u00e4ndige VM automatisiert bereitzustellen \u2013 inklusive aller notwendigen Tools und Konfigurationen.<\/p>\n\n\n\n<p>Hier kam <strong>Vagrant<\/strong> ins Spiel:<br>Ein schlankes IaC-Tool, das \u00fcber einfache Konfigurationsdateien (<code>Vagrantfile<\/code> + <code>Provision.sh<\/code>) komplette Entwicklungsumgebungen automatisiert erstellen und starten kann.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Das Ergebnis: 18 Minuten statt Stunden<\/strong><\/h2>\n\n\n\n<p>Nach initialem Setup konnten wir die neue Entwickler-VM mit Vagrant <strong>in nur 18 Minuten komplett bereitstellen<\/strong>. \u00c4nderungen am Setup lassen sich nun zentral im Skript vornehmen und direkt auf alle Umgebungen ausrollen.<\/p>\n\n\n\n<p>Das spart nicht nur wertvolle Zeit, sondern sorgt auch f\u00fcr:<br>\u2714 Einheitliche Umgebungen<br>\u2714 Weniger Fehlerquellen<br>\u2714 Schnellere Onboardings<br>\u2714 Mehr Fokus auf echte Entwicklung<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Herausforderungen &amp; Learnings<\/strong><\/h2>\n\n\n\n<p>Nat\u00fcrlich verlief nicht alles reibungslos:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Einige Tools wie IntelliJ konnten nicht vollst\u00e4ndig automatisiert installiert werden<\/li>\n\n\n\n<li>Die Kompatibilit\u00e4t mit <strong>Windows 11 Pro 24H2<\/strong> war (Stand jetzt) problematisch<\/li>\n\n\n\n<li>Die initiale Einarbeitung in Vagrant kostete Zeit \u2013 langfristig lohnt sie sich aber<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Wie geht\u2019s weiter?<\/strong><\/h2>\n\n\n\n<p>Noch ist Vagrant nicht perfekt \u2013 vor allem unter Windows. Doch das Prinzip \u201eInfrastructure as Code\u201c hat sich f\u00fcr uns bew\u00e4hrt. Perspektivisch pr\u00fcfen wir alternative Tools, die \u00e4hnliche Funktionen bieten, aber breiter kompatibel sind.<\/p>\n\n\n\n<p>Denn eines ist klar:<br><strong>Manuelle Setups geh\u00f6ren der Vergangenheit an.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.dotsource.de\/labs\/wp-content\/uploads\/sites\/4\/2025\/04\/dotsource_labs_VMs_mit_Infrastructure_as_code.pdf\">Kostenloser Download der gesamten Projektarbeit<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"teaser-block\">\n    <p class=\"h2\">Fullstack-Entwickler (m\/w\/d)<\/p>\n    <a class=\"btn btn-simple\" href=\"https:\/\/www.dotsource.de\/karriere\/fullstack-entwickler\/\"><span>\n        Hier geht\u00b4s zur Stelle!<span class=\"ds-iconfont icon-arrow-right\"><\/span>\n    <\/span><\/a>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Virtuelle Maschinen neu gedacht: Wie wir mit Infrastructure as Code den Setup-Prozess revolutionieren Entwicklungsumgebungen sind das R\u00fcckgrat jedes Projekts. Doch wer schon einmal eine Entwickler-VM von Grund auf manuell aufgesetzt hat, wei\u00df: Das ist alles andere als effizient. Die Konfiguration verschlingt Zeit, ist fehleranf\u00e4llig \u2013 und bei gr\u00f6\u00dferen Teams oder Projekten potenziert sich der Aufwand &hellip; <a href=\"https:\/\/www.dotsource.de\/labs\/vms-in-minuten-statt-tagen-wie-infrastructure-as-code-den-entwickleralltag-veraendert\/\" class=\"more-link\">weiterlesen<span class=\"screen-reader-text\"> &#8222;VMs in Minuten statt Tagen \u2013 Wie Infrastructure as Code den Entwickleralltag ver\u00e4ndert&#8220;<\/span><\/a><\/p>\n","protected":false},"author":189,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[231],"tags":[38,236,146],"class_list":["post-2198","post","type-post","status-publish","format-standard","hentry","category-entwicklung","tag-e-commerce","tag-infrastructure-as-code","tag-sap"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.dotsource.de\/labs\/wp-json\/wp\/v2\/posts\/2198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dotsource.de\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dotsource.de\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dotsource.de\/labs\/wp-json\/wp\/v2\/users\/189"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dotsource.de\/labs\/wp-json\/wp\/v2\/comments?post=2198"}],"version-history":[{"count":4,"href":"https:\/\/www.dotsource.de\/labs\/wp-json\/wp\/v2\/posts\/2198\/revisions"}],"predecessor-version":[{"id":2206,"href":"https:\/\/www.dotsource.de\/labs\/wp-json\/wp\/v2\/posts\/2198\/revisions\/2206"}],"wp:attachment":[{"href":"https:\/\/www.dotsource.de\/labs\/wp-json\/wp\/v2\/media?parent=2198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dotsource.de\/labs\/wp-json\/wp\/v2\/categories?post=2198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dotsource.de\/labs\/wp-json\/wp\/v2\/tags?post=2198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}