OS Factory for Public Cloud & Private Cloud
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
images
plays
resource
.gitignore
.travis.yml
CONTRIBUTING.md
Jenkinsfile
LICENSE
NOTICE-2.0.txt
README.md
os_factory

README.md

OS Factory

Build Status OSFactory is an image creation framework (OS) based on Packer and Ansible and is currently used within the Société Générale for the creation of all the images used on the Public Cloud.

How to install it

AWS

Pre-requistes installation for AWS

Please run this command to install all dependencies.

ansible-playbook resource/dependencies/aws.install.yml -i "MY_IP,"

Dependencies for AWS

Infrastructure for AWS

Infrastructure

To create images on AWS, the EC2 instance must be created in the same location (same subnet and region) as the one where packer will start creating your image.

Azure

Pre-requistes installation for Azure

Please run this command to install all dependencies.

ansible-playbook resource/dependencies/azure.install.yml -i "MY_IP,"

Dependencies for Azure

You need at least two subscription, and they need to be controlled by the SPN.

Infrastructure for Azure

  1. Create a Ubuntu VM and set the Managed Service Identity according : https://docs.microsoft.com/en-us/azure/active-directory/managed-service-identity/overview
  2. Create a SPN : https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli?toc=%2fazure%2fazure-resource-manager%2ftoc.json
  3. On the Ubuntu VM create 2 environnement variables :
    export arm_client_id='yourclientid'
    export arm_client_secret='yoursecret'

All dependencies For project

License

Apache 2.0

Author Information

This project has been created in 2017 by Maxence Maireaux and Product Owner by Yannick Neff.

Contributor

Sponsorship