#googleapi
Explore tagged Tumblr posts
govindhtech · 7 months ago
Text
How DNS-Based Endpoints Enhance Security in GKE Clusters
Tumblr media
DNS-Based Endpoints
In order to prevent unwanted access while maintaining cluster management, it is crucial to restrict access to the cluster control plane, which processes Kubernetes API calls, as you are aware if you use Google Kubernetes Engine (GKE).
Authorized networks and turning off public endpoints were the two main ways that GKE used to secure the control plane. However, accessing the cluster may be challenging when employing these techniques. To obtain access through the cluster’s private network, you need to come up with innovative solutions like bastion hosts, and the list of permitted networks needs to be updated for every cluster.
Google Cloud is presenting a new DNS-based endpoint for GKE clusters today, which offers more security restrictions and access method flexibility. All clusters have the DNS-based endpoint available today, irrespective of cluster configuration or version. Several of the present issues with Kubernetes control plane access are resolved with the new DNS-based endpoint, including:
Complex allowlist and firewall setups based on IP: ACLs and approved network configurations based on IP addresses are vulnerable to human setup error.
IP-based static configurations: You must adjust the approved network IP firewall configuration in accordance with changes in network configuration and IP ranges.
Proxy/bastion hosts: You must set up a proxy or bastion host if you are accessing the GKE control plane from a different cloud location, a distant network, or a VPC that is not the same as the VPC where the cluster is located.
Due to these difficulties, GKE clients now have to deal with a complicated configuration and a perplexing user experience.
Introducing a new DNS-based endpoint
Any network that can connect to Google Cloud APIs, such as VPC networks, on-premises networks, or other cloud networks, can access the frontend that the DNS name resolves to. This front-end Each cluster control plane has its own DNS or fully qualified domain name (FQDN) with the new DNS-based endpoint for GKE routes traffic to your cluster after using security policies to block unwanted traffic.Image credit to Google cloud
This strategy has several advantages:
Simple flexible access from anywhere
Proxy nodes and bastion hosts are not required when using the DNS-based endpoint. Without using proxies, authorized users can access your control plane from various clouds, on-premises deployments, or from their homes. Transiting various VPCs is unrestricted with DNS-based endpoints because all that is needed is access to Google APIs. You can still use VPC Service Controls to restrict access to particular networks if you’d like.
Dynamic Security
The same IAM controls that safeguard all GCP API access are also utilized to protect access to your control plane over the DNS-based endpoint. You can make sure that only authorized users, regardless of the IP address or network they use, may access the control plane by implementing identity and access management (IAM) policies. You can easily remove access to a specific identity if necessary, without having to bother about network IP address bounds and configuration. IAM roles can be tailored to the requirements of your company.
See Customize your network isolation for additional information on the precise permissions needed to set up IAM roles, rules, and authentication tokens.
Two layers of security
You may set up network-based controls with VPC Service Controls in addition to IAM policies, giving your cluster control plane a multi-layer security architecture. Context-aware access controls based on network origin and other attributes are added by VPC Service Controls. The security of a private cluster that is only accessible from a VPC network can be equaled.
All Google Cloud APIs use VPC Service Controls, which ensures that your clusters’ security setup matches that of the services and data hosted by all other Google Cloud APIs. For all Google Cloud resources used in a project, you may provide solid assurances for the prevention of illegal access to data and services. Cloud Audit Logs and VPC Service Controls work together to track control plane access.
How to configure DNS-based access
The procedure of setting up DNS-based access for the GKE cluster control plane is simple Check the next steps.
Enable the DNS-based endpoint
Use the following command to enable DNS-based access for a new cluster:
$ gcloud container clusters create $cluster_name –enable-dns-access
As an alternative, use the following command to allow DNS-based access for an existing cluster:
$ gcloud container clusters update $cluster_name –enable-dns-acces
Configure IAM
Requests must be authenticated with a role that has the new IAM authorization in order to access the control plane.
roles/container.developer
roles/container.viewer
Ensure your client can access Google APIs
You must confirm that your client has access to Google APIs if it is connecting from a Google VPC. Activating Private Google Access, which enables clients to connect to Google APIs without using the public internet, is one approach to accomplish this. Each subnet has its own configuration for private Google Access.
Tip: Private Google Access is already enabled for node subnetworks.
[Selective] Setting up access to Google APIs via Private Service Connect
The Private Service Connect for Google APIs endpoint, which is used to access the other Google APIs, can be used to access the DNS endpoint of the cluster. To configure Private Service Connect for Google APIs endpoints, follow the instructions on the Access Google APIs through endpoints page.
Since using a custom endpoint to access the cluster’s DNS is not supported, as detailed in the use an endpoint section, in order to get it to work, you must create a CNAME to “gke.goog” and an A record between “gke.goog” and the private IP allocated to Private Service Connect for Google APIs.
Try DNS access
You can now try DNS-based access. The following command generates a kubeconfig file using the cluster’s DNS address:
gcloud container clusters get-credentials $cluster_name –dns-endpoint
Use kubectl to access your cluster. This allows Cloud Shell to access clusters without a public IP endpoint, previously required a proxy.
Extra security using VPC Service Controls
Additional control plane access security can be added with VPC Service Controls.
What about the IP-based endpoint?
You can test DNS-based control plane access without affecting your clients by using the IP-based endpoint. After you’re satisfied with DNS-based access, disable IP-based access for added security and easier cluster management:
gcloud container clusters update $cluster_name –enable-ip-access=false
Read more on Govindhtech.com
1 note · View note
outright-crm · 2 years ago
Text
youtube
This video will show you how to set up a Gmail API app in the Google Developer Console. If you have an application like an Android app, web application, etc. and want to fetch user's Gmail information then you will need to set an project and your app in Google Developer Console.
0 notes
programmerjobs · 8 months ago
Text
プログラマー求人、新着情報(2024-11-6)
求人
EC事業者イベント管理サービス運用保守 東京都 https://www.seprogrammerjobs.com/job/show/37757
プラスチックメーカーにおけるデータベースエンジニアDX推進 東京都 https://www.seprogrammerjobs.com/job/show/37756
既存オンラインサイト開発エンハンス-保守 東京都 https://www.seprogrammerjobs.com/job/show/37755
ゲーム運用プランナー 東京都 https://www.seprogrammerjobs.com/job/show/37754
12月~リモート「PHPGit詳細設計~追加改修」 東京都 https://www.seprogrammerjobs.com/job/show/37753
12月~元請直 リモート中心「機能追加PHP-GoogleAPI」 東京都 https://www.seprogrammerjobs.com/job/show/37752
0 notes
kennak · 10 months ago
Quote
自分の場合、22年参院選で政治系YouTube動画をちょくちょく見るようになった頃から、石丸伸二の切り抜き動画が「おすすめ」に上がるようになった(ウザいので片っ端からブロックした)。GoogleAPIの仕組みに興味がある
[B! 選挙] 石丸伸二氏がオワコン化しても「第2の石丸」が現れるだけ…YouTubeしか見ない中高年が招く最悪のシナリオ 「石丸現象」は日本人全体の知性の劣化と幼稚化の結果である
0 notes
abeeralzhor55555 · 2 years ago
Text
0 notes
pythonfan-blog · 5 years ago
Photo
Tumblr media
Speech Recognition Using Python with Google's API  https://morioh.com/p/b5b76a037ebb?f=5c21fb01c16e2556b555ab32 #morioh #googleapi #python
4 notes · View notes
mayurashinde · 3 years ago
Link
0 notes
bridgecoltd · 4 years ago
Photo
Tumblr media
pythonで文字起こしアプリ作成。 Googleのspeechrecognitionは200秒程度しか処理してくれないのかな? Transcription application creation with python. Does Google's speech recognition only process about 200 seconds? #python #googleapi (株式会社 B R I D G E) https://www.instagram.com/p/CQkpLf_nnoN/?utm_medium=tumblr
0 notes
tuxcedotechnology-blog · 6 years ago
Photo
Tumblr media
Tuxcedo Technology Private Limited #Awards #Certification #Googleads #Googlefundamental #youtubecontentownership #Difitalcertifications #Googleapi #ecommerce #mobilesitecertification #wazepartnershi #Mumbai #India https://www.instagram.com/p/BxHna67n5fw/?utm_source=ig_tumblr_share&igshid=1215xwvjscv28
0 notes
heraldbee-blog · 6 years ago
Link
0 notes
nanobank · 6 years ago
Photo
Tumblr media
⚡️🔥 Wallet #Coinomi checks the spelling of the seed phrase in the #GoogleAPI. Just think about it! Someone in #Google decently enriched, tyry someone else's #Crypto packs. It became known from the user who lost the crypt at $ 70,000, who tracked application requests. #EpicFail (Google facts) https://www.instagram.com/p/BumSiMuA1bm/?utm_source=ig_tumblr_share&igshid=pj0u8ou52351
0 notes
dongphuchoangvan · 5 years ago
Link
2 notes · View notes
cloudrevoluteus · 3 years ago
Text
Tumblr media
#NoCodeAPI platforms are a new breed of API management tools that don't require any coding. They provide a low-code or no-code interface for developers to easily create, manage, and publish APIs. The #NoCodeAPI can be used to create #RESTful or #SoapBasedAPIs.
0 notes
codesolutionstuff · 3 years ago
Link
In form validation, Laravel 8,7,6 uses Google v2 Captcha/Re-Captcha. You will learn how to add Google v2 ReCaptcha form validation to a Laravel form in this tutorial.
0 notes
harisystems · 5 years ago
Video
youtube
introduction to apis in google | google apis for website | Sekharmetla |...
0 notes
hackernewsrobot · 3 years ago
Text
I shaved 80 MB from my TypeScript build by removing googleapis
https://effectivetypescript.com/2022/07/30/treemap-for-source-files/ Comments
1 note · View note