{"id":24282901,"url":"https://github.com/ssahadevan-mendix/aws-mendix-quickstart","last_synced_at":"2025-06-23T00:03:17.220Z","repository":{"id":40661954,"uuid":"427420756","full_name":"ssahadevan-mendix/aws-mendix-quickstart","owner":"ssahadevan-mendix","description":"AWS Mendix Private Cloud Quickstart ","archived":false,"fork":false,"pushed_at":"2024-09-05T20:09:28.000Z","size":14670,"stargazers_count":6,"open_issues_count":4,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-07T01:51:33.947Z","etag":null,"topics":["automation","aws","kubernetes","mendix","mendix-private-cloud","mx4pc","quickstart"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ssahadevan-mendix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-11-12T16:11:06.000Z","updated_at":"2024-12-07T02:14:23.000Z","dependencies_parsed_at":"2023-01-21T05:39:11.020Z","dependency_job_id":"0cfeadf8-20f0-4685-bf7d-a706cdf33a38","html_url":"https://github.com/ssahadevan-mendix/aws-mendix-quickstart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ssahadevan-mendix/aws-mendix-quickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssahadevan-mendix%2Faws-mendix-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssahadevan-mendix%2Faws-mendix-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssahadevan-mendix%2Faws-mendix-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssahadevan-mendix%2Faws-mendix-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssahadevan-mendix","download_url":"https://codeload.github.com/ssahadevan-mendix/aws-mendix-quickstart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssahadevan-mendix%2Faws-mendix-quickstart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261386709,"owners_count":23150866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","aws","kubernetes","mendix","mendix-private-cloud","mx4pc","quickstart"],"created_at":"2025-01-16T03:55:29.244Z","updated_at":"2025-06-23T00:03:12.207Z","avatar_url":"https://github.com/ssahadevan-mendix.png","language":"Shell","readme":"# Aws Mendix quickstart\n AWS Mendix Private Cloud Quickstart\n\n    Scripted install of EKS Cluster in AWS.\n    Install nginx ingress controllers\n    Configure Namespace for mendix\n    Deploys a mendix application\n\n\n## Acknowledgements\n\n   Thanks to Pablo Diaz, Dmitrii Zolotukhin for reviewing and providing feedback.\n   Thanks to Clyde Waal , Gautam Gautam who provided the ideas and inspiration as part of the Cloud Practice discussions.\n\n## Sequence Diagram\n\n![Sequence Diagram](/images/sequence.png)\n\n## Prerequistes:\n\n     aws cli\n     eksctl\n     kubectl\n     Access keys for AWS cli\n     ssh key pair for eksctl\n     mxpc-cli - It is packaged here. Download and install the appropriate version from the Mendix platform\n     Docker compatible registry ( to push/pul any images )\n\n## Note: This has been tested on an Apple Macintosh only\n\n# Configurations\n\n## env.sh\n\n    Update env.sh\n\n    export AWS_ACCESS_KEY_ID=\"TODO:your-aws-access-key\"\n    export AWS_SECRET_ACCESS_KEY=\"TODO:\"\n\n    ## Used in create-cluster.sh, del-cluster.sh\n    export AWS_DEFAULT_REGION=\"TODO:\"\n    export AWS_KEY_PAIR=\"TODO:\"\n    export CLUSTER_NAME=\"mxdemo\"\n\n    # Switch to create cluster or Not - Y or N\n    export CREATE_CLUSTER=\"Y\"\n    export USE_SPOT_INSTANCES=\"Y\"\n\n    ## Used in configure.sh\n    ## only required for connected mode -i and -s parameter\n    ## mxpc-cli base-install --namespace new  -i $MENDIX_CONFIG_IVAL -s $MENDIX_CONFIG_SVAL --clusterMode connected  --clusterType generic\n    export MENDIX_CONFIG_IVAL=\"TODO:\"\n    export MENDIX_CONFIG_SVAL=\"TODO:\"\n\n    ## Registry config - configure-template.yaml is updated with this information\n    export MENDIX_REGISTRY_PULL_URL=\"TODO:\"\n    export MENDIX_REGISTRY_PUSH_URL=\"TODO:\"\n    # Note: need to escape / with \\/ for sed replacements\n    export MENDIX_REGISTRY_NAME=\"default-docker-virtual\\/mendixapp\"\n    export MENDIX_AUTH_USER=\"TODO:\"\n    export MENDIX_AUTH_PW=\"TODO:\"\n\n    # Switch for Minio and Postgres install - Y or N\n    export INSTALL_POSTGRES_MINIO=\"Y\"\n    #Passwords for Postgres and Minio\n    export MINIO_PW=\"TODO:\"\n    export POSTGRES_PW=\"TODO:\"\n\n    # Location of the MDA file. This will be used to generate the demo.yaml by generate-yaml.sh\n    export MENDIX_DEMO_MDA=\"https:\\/\\/demo-storage-d1eyl9oe4fo8ph151641-staging.s3.us-east-2.amazonaws.com\\/public\\/Main+line-0.0.0.6.mda\"\n\n    # Configure LInk to download Mendix Private Cloud CLI\n    export MENDIX_CLI_DOWNLOAD_LINK=\"https://cdn.mendix.com/mendix-for-private-cloud/mxpc-cli/mxpc-cli-2.4.1-linux-amd64.tar.gz\"\n\n\n## Ensure that you can run mxpc-cli\n   Your Mac's security sesttings may prevent the downloaded mxpc-cli from executing.\n\n   . ./mxpc-cli -help\n\n## Create Cluster, Configure and Deploy Mendix application\n\nDefault is connected mode\n\n    . ./do-all.sh connected\n          or\n    . ./do-all.sh standalone\n\n\n## Validation\n\n    Added validate.sh that is called at the end of do-all.sh\n    It will show if the result was Successful or not.\n\n    Events:           \u003cnone\u003e\n    default                ingress-ngnix-nginx-ingress-58d84f694d-8lj2f   1/1     Running   0          76m\n    grafana                loki-0                                         1/1     Running   0          66m\n    grafana                loki-grafana-bff99f7f6-447vh                   2/2     Running   0          66m\n    grafana                loki-kube-state-metrics-799f7cbf89-sl9zr       1/1     Running   0          66m\n    grafana                loki-prometheus-server-54b7bc4574-vd9rd        2/2     Running   0          66m\n    grafana                loki-promtail-4tcff                            1/1     Running   0          66m\n    grafana                loki-promtail-87ckc                            1/1     Running   0          66m\n    kube-system            aws-node-fnzvv                                 1/1     Running   0          79m\n    kube-system            aws-node-n54vd                                 1/1     Running   0          79m\n    kube-system            coredns-56b458df85-54mbk                       1/1     Running   0          91m\n    kube-system            coredns-56b458df85-q5bmj                       1/1     Running   0          91m\n    kube-system            kube-proxy-kzs5m                               1/1     Running   0          79m\n    kube-system            kube-proxy-vsxm2                               1/1     Running   0          79m\n    new                    demo-master-ff9b8d85f-vpwr9                    2/2     Running   0          64m\n    new                    mendix-agent-64cc6b9c67-7kz9p                  1/1     Running   0          65m\n    new                    mendix-operator-cc6dfcfd5-jj4xl                1/1     Running   0          65m\n    privatecloud-storage   minio-shared-5c799fdd4b-lw6sn                  1/1     Running   0          66m\n    privatecloud-storage   postgres-shared-postgresql-0                   1/1     Running   0          66m\n    Result: Count of pods running\n    validate.sh - Success: Number of running pods is  18\n\n    Result: Checking Application Pods\n    validate.sh - Success: Number of running demo application pods is  1\n\n    validate.sh   Application Url: demo.3.12.43.139.nip.io # URL to access the app\n    validate.sh   Prometheus Url:  a7e82c3f4d494411f846668234609d83-283292745.us-east-2.elb.amazonaws.com:9090\n\n    ./do-all.sh took 2792 seconds\n\n## Mendix application\n    validate.sh will print the Mendix application url at the end of the script.\n\n    validate.sh   Application Url: demo.3.12.43.139.nip.io # URL to access the app   \n\n## Prometheus\n     validate.sh will print the Prometheus URL at the end of execution.\n\n     validate.sh   Prometheus Url:  a7e82c3f4d494411f846668234609d83-283292745.us-east-2.elb.amazonaws.com:9090\n\n## Generated files\n\n  generate-yamls.sh creates\n      configure.yaml\n      configure-standalone.yaml\n      demo.yaml\n\n   These files are generated from configure-template.yaml and demo-template.yaml\n\n## Deleting the cluster\n\n   del-cluster.sh will delete the cluster\n\n## Screenshots\n\n   https://github.com/ssahadevan-mendix/aws-mendix-quickstart/wiki\n\n\n## References\n   Install the Mendix components on the cluster using the instructions here - https://docs.mendix.com/developerportal/deploy/private-cloud-cli-non-interactive\n\n   Install and configure with the GUI (https://docs.mendix.com/developerportal/deploy/private-cloud-cluster/#4-installing-and-configuring-the-mendix-operator)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssahadevan-mendix%2Faws-mendix-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssahadevan-mendix%2Faws-mendix-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssahadevan-mendix%2Faws-mendix-quickstart/lists"}