![jonathan](/user/avatar/jonathan/-1) Introduce packer support (#18)
cleanups and fixes, packer is ready to roll
add errorApi endpoint
initialize mitmproxy dependencies
packer deployments finally working
fix virtualenv call for ubuntu 20.04
WIP. update to ubuntu 20.04. fixing algo installation
WIP. packer fixes
remove unused constant
WIP. packer basics working for ec2
Merge branch 'master' of git.bubblev.org:bubblev/bubble into cobbzilla/introduce_packer
remove automation dir, all moved to resources
log pg autovacuum if longer than 250ms
touch install marker for algo
set mitmproxy as owner of all mitmproxy files
add hostname to packer image name
avoid closing progress meter prematurely
WIP. parallelize node startup, fix packer bugs
clarify docs
add missing vars, algo tweaks
add missing vars, update algo hash
WIP. improving algo/mitmproxy packer stuff
install packer for sage, call packer from proper location
Use compute driver to get regions
improve comments
wait longer before polling new vultr server, avoid spurious ok status
unquote simple filenames
WIP. Use packer key, no more instance ssh key. Change API installation. Simplify packer/ansible.
rename bubble_finalizer to just finalizer, remove default_roles
filter servers/images based on installType
for now, consider packer image OK if bubble version matches
add algo/mitm roles to packer. add installType to BubbleNode
fix NODE_ROLES file
templatize packer file and playbook, use same template for sage and node
WIP: refactor addAllRegions
WIP: do not re-create identical images
WIP: packer build for vultr now working
Merge branch 'master' of git.bubblev.org:bubblev/bubble into cobbzilla/introduce_packer
WIP. working on vultr packer builds
WIP: packer image creation working for digitalocean
WIP: packer basics working for digitalocean
add packer endpoints, introduce packer support to cloud compute drivers
remove roles endpoints
AnsibleRole is no longer an model entity. Introduce Packer.
Merge branch 'sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService' of git.bubblev.org:bubblev/bubble into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService
Merge branch 'master' of git.bubblev.org:bubblev/bubble into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService
Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService
Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService
Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService
Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService
Add instance count to script
Co-authored-by: Jonathan Cobb <jonathan@kyuss.org>
Co-authored-by: Svitlana <sfedoriv@itekako.com>
Reviewed-on: https://git.bubblev.org/bubblev/bubble/pulls/18
il y a 4 ans |
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- {
- // name, password and description of the initial admin user
- "name": "root",
- "password": "REPLACE WITH YOUR ROOT PASSWORD",
- "description": "root user",
-
- "cloudConfigs" : {
- // You must configure at least one of these DNS services
- // Comment the other one out if you're not going to use it
- "Route53Dns" : {
- "credentials" : {
- "AWS_ACCESS_KEY_ID": "your_aws_access_key_id",
- "AWS_SECRET_KEY": "your_aws_secret_key"
- }
- },
- "GoDaddyDns" : {
- "credentials" : {
- "GODADDY_API_KEY": "your_godaddy_api_key",
- "GODADDY_API_SECRET": "your_godaddy_api_secret"
- }
- },
-
- // You must configure at least one of these Compute services
- // Comment the other one out if you're not going to use it
- "VultrCompute": {
- "credentials": {"API-Key": "your_vultr_api_key"}
- },
- "DigitalOceanCompute": {
- "credentials": {"apiKey": "your_digitalocean_api_key"}
- },
- "AmazonEC2Driver" : {
- "config": {
- // region must be a valid value from the Regions enum: https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-core/src/main/java/com/amazonaws/regions/Regions.java
- "region": "your_aws_region"
- },
- "credentials" : {
- "AWS_ACCESS_KEY_ID": "your_aws_access_key_id",
- "AWS_SECRET_KEY": "your_aws_secret_key"
- }
- },
-
- // You must configure the AWS S3 Storage service in order to launch new Bubbles
- "S3Storage" : {
- "config": {
- // region must be a valid value from the Regions enum: https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-core/src/main/java/com/amazonaws/regions/Regions.java
- "region": "US_EAST_1",
- "bucket": "must be a valid bucket name that the credentials can read/write/list/delete",
- "prefix": "", // optional: all paths for S3 operations will be prefixed with this path
- "listFetchSize": 100
- },
- "credentials" : {
- "AWS_ACCESS_KEY_ID": "your_aws_access_key_id",
- "AWS_SECRET_KEY": "your_aws_secret_key"
- }
- },
-
- // Required for TOTP-based authentication. Highly recommended.
- "TOTPAuthenticator": {},
-
- // OPTIONAL SERVICES
- // Comment out any services you have not configured
-
- // Required for sending emails
- "SmtpServer": {
- "config": {
- "tlsEnabled": true
- },
- "credentials": {
- "user": "your_smtp_username",
- "password": "your_smtp_password",
- "host": "your_smtp_server_hostname",
- "port": "your_smtp_server_port"
- }
- },
-
- // Required for sending SMS messages
- "TwilioSms": {
- "credentials": {
- "accountSID": "your_twilio_account_SID",
- "authToken": "your_twilio_auth_token",
- // text messages sent by Bubble will come "from" this phone number, must be in Twilio-compatible format
- "fromPhoneNumber": "your_twilio_from_number"
- }
- },
-
- // Required for locale and "nearest compute region" auto-detection
- "MaxMind": {
- "config": {
- // these values work for the free GeoLite database. you still have to specify an apiKey
- "url": "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=[[apiKey]]&suffix=tar.gz",
- "file": "GeoLite2-City_20[\\\\d]{6}/GeoLite2-City\\\\.mmdb"
- },
- "credentials": {"apiKey": "your_maxmind_api_key"}
- },
-
- // Required for "nearest compute region" auto-detection
- "GoogleGeoCoder": {
- "credentials": {"apiKey": "your_google_api_key"}
- },
-
- // Required for timezone auto-detection
- "GoogleGeoTime": {
- "credentials": {"apiKey": "your_google_api_key"}
- }
- },
-
- // the domain that new Bubbles will be launched within
- "domain": {
- "publicDns": "Route53Dns or GoDaddyDns", // name of a DNS provider configured above
- "name": "example.com" // a domain name that you own, that is managed by the DNS provider named in `publicDns`
- }
- }
|