Analys av direkt S3-Åtkomst: Autentisering, Dataisolering och Prestanda
2025 (Swedish)Independent thesis Basic level (degree of Bachelor), 10,5 credits / 16 HE credits
Student thesisAlternative title
Analysis of Direct S3 Access: Authentication, Data Isolation, and Performance (English)
Abstract [sv]
I takt med att molnbaserade lösningar blir alltmer integrerade i företags IT-infrastruktur uppstår nya krav på säker och effektiv datahantering. Detta examensarbete undersöker hur filöverföringsarkitekturen i ett affärssystem kan förbättras genom att ersätta centraliserad serverbaserad kommunikation med direktkommunikation mellan klientapplikationer och Amazon S3. Målet är att minska serverbelastning, förbättra nätverksprestanda och samtidigt upprätthålla hög säkerhet och dataisolering.
Två metoder för direkt åtkomst har implementerats och utvärderats: användning av presigned URL för objektspecifik åtkomst och temporära säkerhetstoken via AWS Security Token Service (STS), där klienter tilldelas IAM-roller för bredare och mer dynamisk åtkomstkontroll. Prestandatester visar att presigned URL-metoden konsekvent ger kortare överföringstider, särskilt under nätverkspåverkan som latens och paketförlust. Multipart-presigned URL för uppladdning presterade dock avsevärt sämre, vilket i studien kopplas till användning av fast segmentstorlek, avsaknad av parallellisering och högt antal serveranrop. Dessa faktorer identifieras som områden som kan förbättras i framtida arbete. STS erbjuder å andra sidan mer flexibla och säkra åtkomstkontroller, men med något längre överföringstider.
Studien visar även att direkt S3-kommunikation minskar trafikbelastningen på serversidan avsevärt, vilket öppnar för mer kostnadseffektiva och skalbara system. Arbetet ger praktiska riktlinjer för val av åtkomstmetod baserat på applikationens krav på säkerhet, prestanda, nätverksmiljö och systemarkitektur.
Abstract [en]
As cloud-based solutions become increasingly integrated into enterprise IT infrastructures, new requirements arise for secure and efficient data management. This thesis investigates how the file transfer architecture in a business system can be improved by replacing centralized, server-based communication with direct communication between client applications and Amazon S3. The goal is to reduce server load, improve network performance, and at the same time maintain high levels of security and data isolation.
Two methods for direct access have been implemented and evaluated: the use of presigned URLs for object-specific access, and temporary security tokens via AWS Security Token Service (STS), where clients are assigned IAM roles for broader and more dynamic access control. Performance tests show that the presigned URL method consistently yields shorter transfer times, particularly under network conditions affected by latency and packet loss. However, multipart uploads using presigned URLs performed significantly worse, which in the study is linked to the use of fixed segment sizes, the lack of parallelization, and a high number of server calls. These factors are identified as areas for improvement in future work. STS, on the other hand, offers more flexible and secure access control, though with somewhat longer transfer times.
The study also shows that direct communication with S3 significantly reduces traffic load on the server side, which opens up possibilities for more cost-effective and scalable systems. The work provides practical guidelines for choosing an access method based on the application's requirements for security, performance, network environment, and system architecture.
Place, publisher, year, edition, pages
2025. , p. 14
Keywords [en]
AWS, AWS-S3, AWS-SDK, AWS authentication, data-isolation, performance-analysis
Keywords [sv]
AWS, AWS-S3, AWS-SDK, AWS-autentisering, dataisolering, prestandaanalys
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-214792ISRN: LIU-IDA/LITH-EX-G--25/054--SEOAI: oai:DiVA.org:liu-214792DiVA, id: diva2:1969466
External cooperation
Emil Backstrand
Subject / course
Computer science
Presentation
2025-06-10, Lokal R26, C-huset, Linköping University, 13:15 (English)
Supervisors
Examiners
2025-06-162025-06-152025-06-16Bibliographically approved