Skip to content

Completed - Assignment 2 Pull Request: Extend Automation for Log Management with EC2 & S3 #1

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

git-user-9
Copy link
Owner

This PR enhances the existing automation by meeting the requirements from the 2nd DevOps assignment:

Adds two distinct IAM roles for S3 (read-only and upload/create).
Associates correct roles with respective EC2 instances.
Implements EC2 log upload to a configurable, private S3 bucket.
Enables application log and system log uploads to S3.
Applies S3 lifecycle rules to delete logs after 7 days.
Verifies S3 access using the read-only role.
Adds local log synchronization from read-only EC2 to local directory structure. Saves the log to ./mylogs/app/ and ./mylogs/system/

Reviewer Email:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Author:
Akhil C

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

Successfully merging this pull request may close these issues.

2 participants