Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 326FE200C4B for ; Mon, 20 Mar 2017 19:42:28 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3102A160B76; Mon, 20 Mar 2017 18:42:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7B855160B71 for ; Mon, 20 Mar 2017 19:42:27 +0100 (CET) Received: (qmail 95461 invoked by uid 500); 20 Mar 2017 18:42:26 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 95441 invoked by uid 99); 20 Mar 2017 18:42:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2017 18:42:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C7B9F180A02 for ; Mon, 20 Mar 2017 18:42:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.001 X-Spam-Level: * X-Spam-Status: No, score=1.001 tagged_above=-999 required=6.31 tests=[FROM_MISSPACED=0.001, KAM_LAZY_DOMAIN_SECURITY=1] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id yPXofzFU2N7Z for ; Mon, 20 Mar 2017 18:42:24 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id BB8855FE0B for ; Mon, 20 Mar 2017 18:42:23 +0000 (UTC) Received: from localhost (cust-asf.ponee.io [163.172.22.183]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D95B6E0059 for ; Mon, 20 Mar 2017 18:42:22 +0000 (UTC) MIME-Version: 1.0 Message-ID: Subject: [#Spring17-Airavata-Courses] Infra-As-Code: Setting up a development environment References: From: "Mayank Jaglan" In-Reply-To: Content-Type: text/plain; charset="iso-8859-1" x-ponymail-sender: 35103f0c7f761210044a61b9a3bf6d097003422d Date: Mon, 20 Mar 2017 18:42:22 -0000 x-ponymail-agent: PonyMail Composer/0.2 To: X-Mailer: LuaSocket 3.0-rc1 archived-at: Mon, 20 Mar 2017 18:42:28 -0000 Hi. I am interested in writing scripts for setting up isolated and repeatable development environment. For this I read about several implementation approaches - 1> Writing Ansible scripts which can configure a VM and run docker containers 2> Writing Vagrant Scripts with docker as provider. I find later option to be quicker to implement. Over all it is a lightweight task. An example implementation is present on "github.com/airavata-courses/spring17-devops" repository under "feature-iac-dev-env" branch at "infrastructure/api-server/terraform/dev-env location." Direct Link: https://github.com/airavata-courses/spring17-devops/tree/feature-iac-dev-env/infrastructure/api-server/terraform/dev-env I am looking for review of this implementation so it can be improved further to fit general use cases. Also, if the former approach is more recommended, please feel free to write suggestions. Best, Mayank