Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2024 10:52 AM
Option 1:
Mount AWS S3 bucket
access_key = ""
secret_key = ""
encoded_secret_key = secret_key.replace("/", "%2F")
aws_bucket_name = "yourawsbucketname/"
mount_name = "youraliasmountname"
# #dbutils.fs.unmountf"/mnt/{mount_name}")
dbutils.fs.mount(f"s3a://{access_key}:{encoded_secret_key}@{aws_bucket_name}", f"/mnt/{mount_name}")
After mounting
goto next cell %fs ls /mnt/youraliasmountname
Option 2:
~
On Medium, anyone can share insightful perspectives, useful knowledge, and life wisdom with the world.