{"id":13763244,"url":"https://github.com/wso2/aws-apim","last_synced_at":"2025-04-19T13:57:20.890Z","repository":{"id":34034499,"uuid":"131272450","full_name":"wso2/aws-apim","owner":"wso2","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-27T03:26:24.000Z","size":2706,"stargazers_count":42,"open_issues_count":6,"forks_count":19,"subscribers_count":133,"default_branch":"master","last_synced_at":"2025-03-29T08:24:53.321Z","etag":null,"topics":["api-management"],"latest_commit_sha":null,"homepage":null,"language":"Puppet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wso2.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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-04-27T09:01:02.000Z","updated_at":"2024-11-27T12:42:12.000Z","dependencies_parsed_at":"2024-03-06T15:31:54.426Z","dependency_job_id":"09c9fcae-0296-4abd-9ddf-7f3980de9959","html_url":"https://github.com/wso2/aws-apim","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wso2%2Faws-apim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wso2%2Faws-apim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wso2%2Faws-apim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wso2%2Faws-apim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wso2","download_url":"https://codeload.github.com/wso2/aws-apim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249708505,"owners_count":21313941,"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":["api-management"],"created_at":"2024-08-03T15:00:38.951Z","updated_at":"2025-04-19T13:57:20.866Z","avatar_url":"https://github.com/wso2.png","language":"Puppet","funding_links":[],"categories":["Container based deployment"],"sub_categories":["Microgateway"],"readme":"# AWS Resources for WSO2 API Manager\n\nThis repository contains CloudFormation templates to deploy WSO2 API Manager in Amazon Web Services(AWS).\nIn this pattern, 2 API Manager instances will be deployed with a single Micro Integrator instance that are connected via a \nsingle Load Balancer.\n\nThe WSO2 APIM CloudFormation templates use Puppet to manage the server configurations and use the following AMI's to provision the deployment.\n\n1. Puppetmaster AMI - Contains the API Manager GA distribution and Puppet modules containing the configurations for APIM deployment patterns.\n\n2. APIM AMI - Contains the scripts that are required to create the Puppet catalog.\n\n3. Micro-Integrator AMI - Contains the scripts that are required to create the Puppet catalog.\n\nFirst the Puppetmaster AMI would deploy and afterwards the product specific AMI's would deploy and request the necessary configurations from the Puppetmaster AMI to deploy the WSO2 API Manager.\n\n## FAQ\n\n####1. Why do I get ``\"MasterUsername Admin cannot be used as it is a reserved word used by the engine\"`` error, when I try to deploy the setup with Postgres DB?\n    \nYou cannot use \"Admin\" as the DBUsername when you use Postgres as your DB. Use a different DB Username.\n\n   \n####2. How do I fix ``ERROR {ServiceCatalogUtils} - Error occurred while reading the response from service catalog javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target`` error from the Micro Integrator, which is raised when I deploy a CAPP to the service catalog?\n   \nAs mentioned in [pattern-1/README.md](pattern-1/README.md), before creating the stack you have to add a Server Certificate to AWS using ACM or IAM as explained [here](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html).\nYou have to add the same certificate to `{MI_HOME}/repository/resources/security/` directory using the below command.\n\n    \u003e\u003e\u003e keytool -import -alias servercert -file /home/ubuntu/certificate.crt -storetype JKS -keystore client-truststore.jks\nReplace `/home/ubuntu/certificate.crt` with the path to your certificate.\n\n####3. What is the reason for getting ``ERROR {org.wso2.micro.integrator.initializer.utils.ServiceCatalogUtils} - Environment variables are not configured correctly org.apache.synapse.commons.resolvers.ResolverException: Environment variable could not be found`` in Micro Integrator?\n\nYou will get this error when you try to deploy a CAPP with parameterized URL to service catalog. This is because, environment variables are not set for `MI_HOST` and `MI_PORT`.\nFor setting up the environment variables within the MI Instance, switch as the root user and execute below commands. \n   \n    \u003e\u003e\u003e export MI_HOST=[Micro-Integrator Hostname]\n    \u003e\u003e\u003e export MI_PORT=8290\n   \nLater, restart the Micro-Integrator by executing `sh {MI_HOME}/bin/micro-integrator.sh restart` as the root user.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwso2%2Faws-apim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwso2%2Faws-apim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwso2%2Faws-apim/lists"}