Java Perks is a ficticious wholesale company who sells equipment and supplies to coffee shops around the US. All business is conducted through their online store, so quickly responding to market trends and customer demands is critical.
To get started with this demo, copy the terraform.tfvars.example and fill in with your own information. The variables are as follows:
aws_region: Region to deploy the demo to. Defaults tous-east-1aws_azs: Availability zones to use for the worker nodes. Defaults to 3aws_kms_key_id: A KMS key is needed for Vault's auto unseal. You'll need to provide a KMS key in the specified regionkey_pair: This is the EC2 key pair you created in order to SSH into your EC2 instancemysql_user: Admin username for the MySQL instance. Defaults torootmysql_pass: Password for the MySQL admin user. Defaults toMySecretPasswordmysql_database: Name of the database for the demo. Defaults tojavaperksinstance_size: Size of the AWS instances for the worker nodes. Defaults tot3.smallnum_worker_nodes: Number of Kubernetes worker nodesconsul_license_key: License key for Consul Enterprise. Optionalvault_license_key: License key for Vault Enterprise. Optionalunit_prefix: A unique identifier which is appended to each resource name to avoid name clashesldap_pass: LDAP admin password. Defaults toMySecretPasswordgit_branch: Branch to use for cloning install scripts. Defaults tomasterowner_email: Your email address. Used for tagging instancesvault_dl_url: Used as a Vault client for CLI use. Defaults to 1.4zoneid: Route53 Zone ID for LBs to DNS. Default is empty
Java Perks is comprised of 6 total applications:
Online Store (Frontend): https://github.com/kevincloud/javaperks-online-store
Customer data API, MySQL backend: https://github.com/kevincloud/javaperks-customer-api
Shopping cart API, DynamoDB backend: https://github.com/kevincloud/javaperks-cart-api
Order API, DynamoDB backend: https://github.com/kevincloud/javaperks-order-api
Product API, DynamoDB backend: https://github.com/kevincloud/javaperks-product-api
Authentication API, Vault/LDAP backend: https://github.com/kevincloud/javaperks-auth-api