7월, 2020의 게시물 표시

HAProxy - 2 methods for https routing

이미지
Recently, there was a project to connect an https web server existing in a private network through the Internet. It is possible to use a VPN, but I decided to study how to use HAProxy. Please refer to the previous blog for HAProxy installation and basic usage. <Configuration I want to implement> Prerequisite A web server, a certificate, etc. are required to test the content of this article. The following 3 articles show how to easily build an https web server using Python Prask. Please refer to the building a https web server for testing. Python Flask - Running a simple web server Python Flask - Give domain name to Flask WebServer Python Flask - Give https to Flask WebServer Be Careful : If you test homepages such as https://www.google.com and https://www.facebook.com ,  redirects occur frequently. So it is difficult to test accurately. If possible, I recommend creating a simple https web service to test it yourself. <My test configuration> Simplest configuration The...

HAProxy

이미지
This is about HAProxy introduced on the wiki. HAProxy is free, open source software that provides a high availability load balancer and proxy server for TCP and HTTP -based applications that spreads requests across multiple servers. [3] It is written in C [4] and has a reputation for being fast and efficient (in terms of processor and memory usage). [5] HAProxy is used by a number of high-profile websites including GoDaddy , GitHub , Bitbucket , [6] Stack Overflow , [7] Reddit , Speedtest.net , Tumblr , Twitter [8] [9] and Tuenti [10] and is used in the OpsWorks product from Amazon Web Services . [11] HAProxy is mainly used for load balancing for load balancing of web servers. It is similar to L4 switch for load balancing. <Web server load balancing using HAProxy> However, HAProxy can be used not only for web server load balancing, but also for load balancing or security enhancement of general TCP/IP servers. In this article, I will mainly explain the configurati...