Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the process of setting up a proxy environment to test CKF behind proxy #990

Closed
NohaIhab opened this issue Jul 23, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@NohaIhab
Copy link
Contributor

Context

To run the UATs behind proxy, we need a way of setting up a proxy environment.
This is related to #755, but since we do not have cycles to spec it out and discuss the best approach, we need to document the manual way which we are doing it now.

What needs to get done

Create a document on how to:

  1. setup a proxy environment
  2. deploy CKF behind proxy

Definition of Done

document is created and reviewed

@NohaIhab NohaIhab added the enhancement New feature or request label Jul 23, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-6043.

This message was autogenerated

@NohaIhab NohaIhab changed the title Dcoument the process of setting up a proxy environment to test CKF behind proxy Document the process of setting up a proxy environment to test CKF behind proxy Jul 31, 2024
@NohaIhab
Copy link
Contributor Author

NohaIhab commented Jul 31, 2024

Manual steps to setup a proxy env using AWS

  1. From the AWS Console go to VPC, create VPC and choose the VPC and more option, then create a VPC and subnets
  • 1 AZ
  • 1 public subnet
  • 1 private subnet
  • None NAT gateway
  • None VPC Endpoints
  1. Create an AWS Instance in the Private Subnet -> this is the machine behind proxy where CKF will be deployed
  • Configure the security group for the private instance to:
    • allow inbound HTTP connection on port 80 from the public instance IP
    • allow inbound SSH connection from the public instance IP
  1. Create an AWS Instance in the Public Subnet -> this is where the proxy server will live

    • Cofigure the security group for the public instance to allow inbound connections on the proxy port from the private instance IP (with Custom TCP)
  2. Setup the proxy server in the public machine - you can use squid

  3. Setup Juju+Microk8s in the machine behind proxy by following our guide

@NohaIhab
Copy link
Contributor Author

the above steps were refactored and written in more detail in the team's internal informational spec KF102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant