top of page
Writer's pictureSandhya Kapoor

Sharing my Experiences in Using AI Services on Google Cloud Platform

In the evolving digital era, artificial intelligence has earned significant popularity due to its ability to automate processes, make predictions, and gain insights from large datasets.

Using AI Services on Google Cloud Platform

Google Cloud Platform (GCP) comprises a complete suite of services and tools that allow developers to harness the power of AI in their applications.


In this insightful blog, I'm here to share my first-hand experiences using AI services on GCP.

But before I start on this journey, let's understand what this platform is all about!


Introduction to Google Cloud Platform (GCP)

Cloud technologies have surged in popularity in recent years. The reason is the increasing trend of businesses transitioning online. Among the top players in cloud technology, Google Cloud stands out prominently.


Google Cloud encompasses a range of services tailored to assist businesses of every size in their digital transformation. Leveraging Google Cloud Platform services allows businesses to build interactive web applications that improve customer experiences. Such applications not only boost service quality but also improve brand perception as well as customer engagement.


AI Services on Google Cloud Platform

AI and ML are transforming industries from healthcare to finance to automation, increasing convenience for every individual. In addition, AI is deeply interconnected with Cloud Computing. 


AI Services on Google Cloud Platform

In 2020, over 90% of companies used cloud services for tasks such as big data analytics, data storage, managing data lakes, and data streaming—important steps for ML models.


The pay-as-you-go pricing model in cloud computing allows easy access to services like GPU-based computing servers and data lakes to handle large datasets from any cloud provider, such as Amazon Web Services (AWS), Microsoft Azure, or Google Cloud Platform (GCP).  



Google Cloud Platform wins high marks due to low compute costs while harnessing AI cloud services. We will discuss some out-of-the-box AI services on Google Cloud Platform (GCP).


1. Google Cloud AutoML

Google Cloud AutoML is a suite of services enabling developers with limited ML expertise to create custom ML models for tasks like natural language processing or image classification. Its user-friendly interface eliminates the need for extensive coding or data preprocessing.

Users can train, assess, enhance, and deploy custom ML models for translation, vision, and natural language using a simple graphical interface in minutes.


2. Google Cloud ML Engine

Google Cloud ML Engine is a comprehensively managed service designed for training as well as deploying ML models. It offers a distributed training infrastructure capable of handling datasets of all sizes. 


ML Engine supports widely-used ML frameworks like Keras, TensorFlow, and Scikit-learn, simplifying integration with your current workflows.


3. Google Cloud Vision API

The Google Cloud Vision API enables developers to integrate machine learning capabilities related to vision into their applications. It enables the analysis of images and extracts valuable insights, such as sentiment analysis, object detection, and OCR (Optical Character Recognition).


4. Google Cloud AI Platform Notebooks

Google Cloud AI Platform Notebooks provide an interactive environment for creating and testing ML models. They support popular frameworks like PyTorch, TensorFlow, and scikit-learn, offering a JupyterLab interface with pre-installed dependencies for simple experimentation and collaboration on ML projects.


Google Cloud Platform for Business: Use Cases

Sure, let's break down some of the use cases for Google Cloud for both small businesses and large enterprises to better understand how it works in practice:


Google Cloud Platform for business

1. Hierarchical Efficiency for Large Enterprises

Large enterprises with multiple departments benefit from the Google Cloud Platform (GCP) by creating a hierarchy that allows each department to work at its own pace while adhering to general guidance. GCP simplifies policy creation and management within the company, ensuring that project materials are automatically removed from all areas when projects are deleted, thus saving future costs.


2. Advantages in Machine Learning and Analytics

Businesses focused on machine learning and analytics find GCP advantageous as it provides broad access to machine learning data, which is crucial for large companies. Services like Vertex AI accelerate ML and enable the development of generative AI applications, enhancing product improvements with key insights.


3. Scalability and Agility for Organizations

Organizations needing greater infrastructure scalability and agility than traditional data centers, often turn to GCP. Air.io's success story demonstrates these benefits.


4. Data Processing with BigQuery

Organizations seeking faster data processing operations without investing in additional services can leverage GCP's BigQuery service. As a serverless multi-cloud data warehouse, BigQuery securely stores and analyzes data, streamlining analyst work and offering pay-as-you-go pricing suitable for businesses of all sizes. MacPaw's success story details BigQuery's role in data management improvements.


My Experience with Google Cloud Platform AI Services

In today's digital era, safeguarding sensitive information against cyber threats is paramount. As a cybersecurity enthusiast, I embarked on a transformative journey leveraging Google Cloud Platform's (GCP) advanced AI solutions to combat one of the most pervasive threats: Account Takeover (ATO) fraud.


The impact of account takeover fraud is significant! As per the Javelin 2023 Identity Fraud Study, 15.4 million  U.S. adults have been victims of ATO.


  • Project Overview

The project centered on addressing the rampant ATO fraud targeting financial institutions, e-commerce platforms, and digital services. Criminals use cybercrime methods and automated bots to access user accounts without permission, resulting in financial losses and fraudulent actions.


  • Creating an AI-Powered Solution

To combat ATO fraud effectively, I developed a robust Software Development Kit (SDK) embedded with advanced AI models. These models, designed with well-defined features, enabled detection of fraudulent activities within login, onboarding, and payment transaction flows.


  • Addressing the Problem Landscape

The project delves into various methods through which credentials are stolen. Each method posed unique challenges, requiring tailored AI solutions. The overarching philosophy was to capture the anomalies observed  in a user’s journey on an e-commerce/banking/financial institution’s site and provide a cumulative risk score. This risk score can be mapped to a set of actions leading to reduction in Fraud losses. 


Some of the methods that I explored along with possible solutions:


1. Social Engineering: 

Attackers manipulate or coerce account holders to disclose their login credentials through social interactions, requesting individuals to share their screen and retrieve security credentials, or getting control of the victim’s PC utilizing software like AnyDesk.


Possible Solution: Implement measures to detect screen recording or system dual control and prevent users from accessing pages containing sensitive information. Also, consider disabling the payment gateway if suspicious activity is detected.


2. Credential Stuffing:

Credential stuffing involves attackers using automated tools to test various combinations of compromised usernames and passwords across multiple websites, exploiting users who reuse credentials. The attack fetches usernames and passwords from a phishing attack, website breach, password dump, etc. The attacker utilizes automated tools to test the stolen credentials against several sites. If the attacker logs in successfully, he easily gets a set of valid credentials.


Possible Solution: Apply measures to limit login attempts based on device fingerprinting. Additionally, keep a check on suspicious behaviors such as distinct typing speeds, time zones, or IP addresses, especially when trying multiple credentials in a short period of time. These precautions can help detect and prevent credential stuffing attacks.


3. Brute Force Attacks

Brute force attacks entail hackers trying several combinations of passwords and usernames until they find one that grants access to an account.


Possible SolutionRestrict API calls based on the device fingerprint to prevent excessive attempts. Implement a methodology to check that the same user (identified by characteristics such as typing speed, device fingerprint, timezone/IP address) is attempting different passwords.


4. Keylogging:

Keylogging is a form of client-side malware where attackers steal credentials by injecting malicious scripts into online forms, capturing sensitive information such as login credentials and credit card details.


Possible Solution:

  1. Implement Web Application Firewalls (WAFs) to filter and track HTTP traffic, detecting and blocking malicious activities, including script injections.

  2. Deploy a Content Security Policy (CSP) to alleviate the risk of cross-site scripting (XSS) attacks, commonly utilized for script injections.

  3. Ensure HTTPS encryption for your website to encrypt data transmission between the client and server, improving security and securing against data interception.


5. Skimming And E-Skimming:

Skimming includes copying the cardholder’s payment details, with criminals utilizing different strategies like photocopying receipts, e-skimming, or installing skimmers within ATM terminals to capture card numbers and PINs.


Today's highly advanced form of skimming is e-skimming, which involves infecting e-commerce sites with malicious code to take the customer's debit or credit card information. Because it does not involve physical tampering with a device, it’s tougher to detect than other types of skimming. The customer enters their card information, assuming it to be a secure transaction, but the malicious code included in the website saves their data and transfers it to the hackers in real time. 


Possible Solution:

  1. Implement Web Application Firewalls (WAF) to filter and track HTTP traffic between a web application and the internet. This can help find and block malicious activity, which includes attempts to inject skimming scripts.

  2. Implement a Content Security Policy (CSP) to reduce the risk of cross-site scripting (XSS) attacks, which are widely used to inject skimming scripts into web pages.


6. Man in the Middle (MitM) Attacks

Man in the Middle (MitM) attacks include intercepting messages or data transfers by acting as proxies between legitimate parties. This enables the attacker to "eavesdrop" on the exchange of information and data between the two parties, harvesting login credentials or other personal information.


Possible Solution

Extra security measures that were outside the scope of this project.


AI Service Used on Google Cloud Platform

I utilized Google Colab as the primary environment for executing Jupyter Notebooks, harnessing its robust features to develop AI solutions for detecting ATO fraud. 


Google Colab, part of Google's suite of AI functionalities, provided a seamless and efficient platform for developing and testing advanced AI models. Its key features, such as collaborative editing, cloud-based storage, and GPU acceleration, significantly expedited the development process and enhanced model performance.


One of the standout advantages of using Google Colab was its integration with Google's AI services within the Google Cloud Platform (GCP) ecosystem. This integration implied access to a wide range of AI functionalities that contributed to the effectiveness of the SDK in detecting fraudulent activities.


Overall, Google Colab played a pivotal role in streamlining the development workflow, facilitating collaboration, and leveraging Google's AI capabilities, thus significantly contributing to the success of the project in combating ATO fraud.


Tips for Using Google Cloud Platform AI Services Effectively


Tips for Using Google Cloud Platform AI Services Effectively

Based on my experiences and learnings, here are some tips for effectively harnessing GCP AI services:

  • Know Business Objectives: Align AI initiatives with clear business goals and outcomes to drive meaningful impact.

  • Data Quality and Governance: Invest in robust data pipelines, quality assurance processes, and ethical AI practices to ensure accurate and responsible AI outcomes.

  • Experimentation and Iteration: Embrace a culture of experimentation, iteration, and continuous learning to refine AI models and algorithms over time.

  • Collaboration and Knowledge Sharing: Leverage the GCP community, forums, and online resources for collaboration, knowledge sharing, and staying updated with the latest AI trends and developments.


Google Cloud Platform in 2024 and Beyond

Google Cloud Platform (GCP) is continually evolving. It is offering new features as well as updates that can benefit both large and small businesses.


Here’s a quick list of the latest offerings that can help you stay ahead of the curve and improve your cloud operations:

  1. Edge Computing Dominance: GCP enhances edge computing capabilities with tools like GKE Enterprise, reducing latency and improving performance for real-time data processing.

  2. AI and Machine Learning Integration: Google Cloud integrates AI and ML tools like TensorFlow and the AI Platform, empowering businesses with advanced analytics and automation for impactful operations.

  3. Hybrid and Multi-Cloud Strategies: The Google Kubernetes Engine (GKE) enables seamless application management across different environments, offering flexibility and scalability for hybrid and multi-cloud strategies.

  4. Enhanced Security Measures: Google Cloud introduces robust security solutions like BeyondCorp and Confidential Computing to ensure data protection and compliance with industry regulations.


Conclusion

My experience with GCP's advanced AI tools in combating ATO fraud, underscores the importance of innovation and proactive cybersecurity measures. 


As we navigate the digital realm's complexities, platforms like GCP empower us to safeguard digital assets, protect user privacy, and foster trust in online interactions. Not just this, GCP’s services can swiftly expand your business and enable you to scale to new frontiers.


35 views0 comments

Komentarai


bottom of page