CCD Viva
CCD Viva
1) Front-end Services:
These are services provided by AWS to help build and manage parts of applications that users interact with like mobile apps or
websites.
• Amazon S3: Stores files like images and videos for websites
• Amazon CloudFront: Speeds up delivery of website content
• AWS Amplify: Helps build and host website and mobile apps
2) Back-end Services:
Back-end services typically handle business logic, data processing, and database management.
• Amazon EC2: Scalable virtual servers for running applications.
• AWS Lambda: Serverless computing for running code without managing servers.
• Amazon RDS: Managed relational database service supporting multiple engines.
• Amazon DynamoDB: Fully managed NoSQL database with fast, predictable performance.
• Amazon SQS and Amazon SNS: Messaging and notification services for decoupling components and enabling scalable, fault-tolerant
systems.
EXP 2: Study of Amazon AWS environment with respect to storage, database, management tools, application services
AWS offers a comprehensive suite of services for building, deploying, and managing applications in the cloud.
Storage:
• Amazon S3: Scalable object storage for backup, archiving, and analytics.
• Amazon EBS: Block storage for EC2 instances, suitable for databases and file systems.
• Amazon Glacier: Low-cost archival storage for infrequently accessed data.
Database:
• Amazon RDS: Managed relational databases with automated tasks.
• Amazon DynamoDB: Fast, scalable NoSQL database.
• Amazon Redshift: Data warehousing with fast query performance.
Management Tools:
• AWS Management Console: Web interface for managing AWS services.
• AWS CLI: Command-line tool for scripting and automation.
• AWS CloudFormation: Infrastructure as Code service for automating deployments.
• AWS IAM: Manages user access and permissions.
Application Services:
• Amazon API Gateway: Creates and manages APIs.
• Amazon SNS: Messaging service for notifications.
• AWS Step Functions: Orchestrates serverless workflows.
EXP 3: Study of Amazon AWS environment with respect to storage, database, management tools, application services
Features: Offers an interactive graph view, filtering and grouping options, detailed resource information, and dependency mapping.
Use Cases: Useful for infrastructure analysis, troubleshooting, cost optimization, and ensuring security and compliance.
Limitations: Complexity: In large and complex AWS environments, the Resource Explorer may become cluttered and challenging to navigate
effectively. Resource Support: Not all AWS resources may be fully supported or visualized in the Resource Explorer, especially newer or less
commonly used services.
EXP 10:
EXP 5:
Creating an S3 Bucket:
1. Sign In: Go to AWS Management Console and sign in.
2. Navigate to S3: Select “S3” from the services list.
3. Create Bucket: Click “Create bucket.”
4. Configure Bucket:
o Enter a unique bucket name.
o Select a region.
o Configure additional settings (versioning, logging, encryption).
5. Set Permissions (Optional): Configure bucket policies and ACLs.
6. Review and Create: Review settings and click “Create bucket.”
7. Confirmation: You’ll see a confirmation message once the bucket is created.
Uploading Files to S3 Bucket:
1. Sign In: Sign in to the AWS Management Console.
2. Navigate to S3: Select the bucket.
3. Upload File: Click “Upload,” choose the file, and follow the prompts.
Applying Permissions for Uploading Files:
1. IAM Policies: Create and attach policies to IAM users or groups.
2. Bucket Policies: Define who can upload files and under what conditions.
3. ACLs: Grant specific permissions to AWS accounts or groups.
Authentication and Authorization:
1. IAM: Use IAM roles and policies for access control.
2. Amazon Cognito: Implement user authentication and authorization.
3. Custom Solutions: Use AWS Lambda, API Gateway, and other services for custom authentication.
Example Scenario:
1. Create IAM Policy: Grant s3:PutObject permission.
2. Attach Policy: Attach to an IAM role for authenticated users.
3. Authenticate Users: Use Amazon Cognito for authentication.
4. Upload Files: Users authenticate, obtain temporary credentials, and upload files.
This process helps you manage and secure your S3 bucket and its contents efficiently.
EXP 7:
Setting Up and Using SageMaker Feature Store:
1. Set up AWS Environment: Ensure you have an AWS account and access to Amazon SageMaker.
2. Create a Feature Group:
Python
import sagemaker
from sagemaker.feature_store.feature_group import FeatureGroup
import pandas as pd
3. Verify Feature Group Creation: Check the SageMaker console or use the AWS SDK to verify.
4. Use Features in Model Training: Utilize the features in SageMaker model training jobs.
Note: Ensure your AWS IAM role has the necessary permissions. Customize the example based on your specific use
case and data schema.
EXP6:
Prepare Dataset using AWS Data Wrangler
1. Install AWS Data Wrangler:
pip install awswrangler
2. Load and Transform Data:
3. Process Dataset using scikit-learn
1. Install scikit-learn:
pip install scikit-learn
2. Load and Preprocess Data:
import pandas as pd
import awswrangler as wr
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import accuracy_score