Secure access to EC2 (for developers)Secure access to EC2 (for developers) Agenda – introduction – EC2 in native environment – 3-tier architecture intro – alternative methods of resource connection: – Bastion host – SSM – EC2 Instance Connect DDoS attacks A regular virtual machineIt's a VM. Classic EC2 instance in de‐ fault setting. Resources: EC2SecurityGroup: Type: AWS:: EC2:: SecurityGroup Properties: GroupName: Launch-wizard-13 Launch-wizard-13 GroupDescription: Allow traffic to EC2 SecurityGroupIngress: - CidrIp: 0.0.0.0/0 IpProtocol: -1 SecurityGroupEgress: - CidrIp: 0.0.0.0/00 码力 | 10 页 | 3.11 MB | 6 月前3
Conan 2.6 Documentationzlib/1.2.11#f1fadf0d3b196dc0332750354ad8ab7b:2a823fda5c9d8b4f682cb27c30caf4124c5726c8 ˓→#48bc7191ec1ee467f1e951033d7d41b2 - Cache Build requirements cmake/3.22.6 ˓→#3e3d8f3a848b2a60afafbe7a0955085 627b54ff3af ˓→#50f91e204d09b64b24b29df3b87a2f3a hello/1.0: Package folder /Users/user/.conan2/p/21ec37b931782de8/p 74 Chapter 4. Tutorial Conan Documentation, Release 2.6.0 Check how the include and previous page) $ conan list "hello/0.1#:*" Local Cache hello hello/0.1 revisions d8e4debf31f0b7b5ec7ff910f76f1e2a (2024-05-10 09:13:16 UTC) packages 522dcea5982a3f8a5b624c16477e47195da2f84f info0 码力 | 777 页 | 4.91 MB | 10 月前3
Conan 2.10 Documentationzlib/1.2.11#f1fadf0d3b196dc0332750354ad8ab7b:2a823fda5c9d8b4f682cb27c30caf4124c5726c8 ˓→#48bc7191ec1ee467f1e951033d7d41b2 - Cache Build requirements cmake/3.22.6 ˓→#3e3d8f3a848b2a60afafbe7a0955085 627b54ff3af ˓→#50f91e204d09b64b24b29df3b87a2f3a hello/1.0: Package folder /Users/user/.conan2/p/21ec37b931782de8/p 74 Chapter 4. Tutorial Conan Documentation, Release 2.10.1 Check how the include and previous page) $ conan list "hello/0.1#:*" Local Cache hello hello/0.1 revisions d8e4debf31f0b7b5ec7ff910f76f1e2a (2024-05-10 09:13:16 UTC) packages 522dcea5982a3f8a5b624c16477e47195da2f84f info0 码力 | 803 页 | 5.02 MB | 10 月前3
Conan 2.9 Documentationzlib/1.2.11#f1fadf0d3b196dc0332750354ad8ab7b:2a823fda5c9d8b4f682cb27c30caf4124c5726c8 ˓→#48bc7191ec1ee467f1e951033d7d41b2 - Cache Build requirements cmake/3.22.6 ˓→#3e3d8f3a848b2a60afafbe7a0955085 627b54ff3af ˓→#50f91e204d09b64b24b29df3b87a2f3a hello/1.0: Package folder /Users/user/.conan2/p/21ec37b931782de8/p 74 Chapter 4. Tutorial Conan Documentation, Release 2.9.3 Check how the include and previous page) $ conan list "hello/0.1#:*" Local Cache hello hello/0.1 revisions d8e4debf31f0b7b5ec7ff910f76f1e2a (2024-05-10 09:13:16 UTC) packages 522dcea5982a3f8a5b624c16477e47195da2f84f info0 码力 | 795 页 | 4.99 MB | 10 月前3
Conan 2.7 Documentationzlib/1.2.11#f1fadf0d3b196dc0332750354ad8ab7b:2a823fda5c9d8b4f682cb27c30caf4124c5726c8 ˓→#48bc7191ec1ee467f1e951033d7d41b2 - Cache Build requirements cmake/3.22.6 ˓→#3e3d8f3a848b2a60afafbe7a0955085 627b54ff3af ˓→#50f91e204d09b64b24b29df3b87a2f3a hello/1.0: Package folder /Users/user/.conan2/p/21ec37b931782de8/p 74 Chapter 4. Tutorial Conan Documentation, Release 2.7.1 Check how the include and previous page) $ conan list "hello/0.1#:*" Local Cache hello hello/0.1 revisions d8e4debf31f0b7b5ec7ff910f76f1e2a (2024-05-10 09:13:16 UTC) packages 522dcea5982a3f8a5b624c16477e47195da2f84f info0 码力 | 779 页 | 4.93 MB | 10 月前3
Conan 2.8 Documentationzlib/1.2.11#f1fadf0d3b196dc0332750354ad8ab7b:2a823fda5c9d8b4f682cb27c30caf4124c5726c8 ˓→#48bc7191ec1ee467f1e951033d7d41b2 - Cache Build requirements cmake/3.22.6 ˓→#3e3d8f3a848b2a60afafbe7a0955085 627b54ff3af ˓→#50f91e204d09b64b24b29df3b87a2f3a hello/1.0: Package folder /Users/user/.conan2/p/21ec37b931782de8/p 74 Chapter 4. Tutorial Conan Documentation, Release 2.8.1 Check how the include and previous page) $ conan list "hello/0.1#:*" Local Cache hello hello/0.1 revisions d8e4debf31f0b7b5ec7ff910f76f1e2a (2024-05-10 09:13:16 UTC) packages 522dcea5982a3f8a5b624c16477e47195da2f84f info0 码力 | 785 页 | 4.95 MB | 10 月前3
C++23: An Overview of Almost All New and Updated Featuresstd::spanstream std::byteswap() std::to_underlying() Associative Containers Heterogeneous Erasure Removed Features Garbage Collection SupportC++23 Core Language6 Agenda C++23 Core Language std::spanstream std::byteswap() std::to_underlying() Associative Containers Heterogeneous Erasure Removed Features Garbage Collection Support7 Explicit Object Parameters Instead of implicit std::spanstream std::byteswap() std::to_underlying() Associative Containers Heterogeneous Erasure Removed Features Garbage Collection Support13 if consteval Syntax: if consteval { /* A0 码力 | 105 页 | 759.96 KB | 6 月前3
Dependency Injection in C++to inject different functionality • Linking • Inheritance/virtual functions • Templates • Type erasure 29 Bloomberg Dependency Injection BasicsCall any thing satisfying a function signature – via yield; } private : CalculateYield YieldCalculator_; }; 31 Bloomberg Dependency Injection via type erasure Injection Dependency Type Testing Dependency captureTEST(Processor, test_yield) { auto y_calculator processor.process(rdata); EXPECT_EQ(yield.realised, 1); } 32 Bloomberg Dependency Injection via type erasure Injection Dependency Testing VerificationCall any function satisfying a function signature –0 码力 | 106 页 | 1.76 MB | 6 月前3
Relocation: Blazing Fast Save And Restore, Then Morel!contains(id()); } };What about runtime polymorphism? • Programmers make the virtual tables • Zoo type-erasure already generates virtual tables • The handles have the accessor to the virtual table *INDEX* as articulate a new concept: A Value Manager 35Clear & Complete Value Management scenario • In Type Erasure: std::any, especially std::function: • The type of the managed value is “forgotten” at compilation manage a value you don’t know its type • There are different types of value managers (for type erasure): • Local: concerns such as buffer size and alignment • Non-local: • Allocation? • How to0 码力 | 41 页 | 2.81 MB | 6 月前3
C++20 STL Features: 1 Year of Development on GitHubh(skipped_extensions, extension)) { continue; } // ... } } 14Erasing Elements 15Container Erasure Strategies • Erasing unwanted elements before C++20: • vector-like: erase-remove idiom • list-like: Invalidating iterators while looping 🐞 • Skipping elements while looping 🐞 16Uniform Container Erasure • GH-236 and GH-566 implemented by SuperWig #include#include #include return false; } } // ... similarly for _Value > _Ty{_Rx_max} ... return true; } 39Associative Erasure • std::erase_if() is linear time • Inspects the entire value_type • Associative containers have 0 码力 | 45 页 | 989.72 KB | 6 月前3
共 192 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20













